Re: [PATCH] selftests: pid_namespace and pidfd missing include

2025-02-20 Thread Peter Seiderer
On Tue, 18 Feb 2025 17:26:19 -0700, Shuah Khan wrote: > On 2/12/25 17:24, Alessandro Zanni wrote: > >> Running "make kselftest" results in several errors like these: > >> > >> pidfd_fdinfo_test.c:231:36: error: ‘MS_REC’ undeclared (first use in > >> this function) > >>231 | r = mount

Re: [PATCH] selftests: pid_namespace and pidfd missing include

2025-02-18 Thread Shuah Khan
On 2/12/25 17:24, Alessandro Zanni wrote: Running "make kselftest" results in several errors like these: pidfd_fdinfo_test.c:231:36: error: ‘MS_REC’ undeclared (first use in this function) 231 | r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); pidfd_fdinfo_test.c:231:45: error: ‘M

Re: [PATCH] selftests: pid_namespace and pidfd missing include

2025-02-12 Thread Alessandro Zanni
> Running "make kselftest" results in several errors like these: > > pidfd_fdinfo_test.c:231:36: error: ‘MS_REC’ undeclared (first use in > this function) > 231 | r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); > > pidfd_fdinfo_test.c:231:45: error: ‘MS_PRIVATE’ undeclared (first use