Re: [PATCH] selftests/landlock:Fix net_test build issues with old libc

2024-01-23 Thread Mickaël Salaün
Thanks, I tweaked a bit and merged this patch in my next branch. On Tue, Jan 23, 2024 at 02:26:21PM +0800, Hu Yadi wrote: > From: "Hu.Yadi" There is an extra "." here, I fixed it. You don't need to add this From field if it matches your email's From one. > > Fixes: a549d055a22e ("selftests/lan

[PATCH] selftests/landlock:Fix net_test build issues with old libc

2024-01-22 Thread Hu Yadi
From: "Hu.Yadi" Fixes: a549d055a22e ("selftests/landlock: Add network tests") one issues comes up while building selftest/landlock/net_test on my side (gcc 7.3/glibc-2.28/kernel-4.19) net_test.c: In function ‘set_service’: net_test.c:91:45: warning: implicit declaration of function ‘gettid’; [