Re: [PATCH] tests/pid_namespace: Add missing sys/mount.h

2025-04-08 Thread T.J. Mercier
On Tue, Apr 8, 2025 at 3:48 PM Shuah Khan wrote: > > On 4/7/25 16:59, T.J. Mercier wrote: > > pid_max.c: In function ‘pid_max_cb’: > > pid_max.c:42:15: error: implicit declaration of function ‘mount’ > > [-Wimplicit-function-declaration] > > 42 |

Re: [PATCH] tests/pid_namespace: Add missing sys/mount.h

2025-04-08 Thread Shuah Khan
On 4/7/25 16:59, T.J. Mercier wrote: pid_max.c: In function ‘pid_max_cb’: pid_max.c:42:15: error: implicit declaration of function ‘mount’ [-Wimplicit-function-declaration] 42 | ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); |