[PATCH 0/2] selftests/pidfd: Fix missing headers

Siddharth Menon posted 2 patches 11 months, 1 week ago
tools/testing/selftests/pidfd/pidfd_fdinfo_test.c | 1 +
tools/testing/selftests/pidfd/pidfd_setns_test.c  | 1 +
2 files changed, 2 insertions(+)
[PATCH 0/2] selftests/pidfd: Fix missing headers
Posted by Siddharth Menon 11 months, 1 week ago
Fix compilation errors caused by missing headers in the pidfd selftest.

The errors include:
pidfd_fdinfo_test.c:230:13: error: implicit declaration of function ‘mount’
pidfd_setns_test.c:172:54: error: implicit declaration of function ‘ioctl’

Siddharth Menon (2):
  selftests/pidfd: Fix missing header
  selftests/pidfd: Fix missing header

 tools/testing/selftests/pidfd/pidfd_fdinfo_test.c | 1 +
 tools/testing/selftests/pidfd/pidfd_setns_test.c  | 1 +
 2 files changed, 2 insertions(+)

-- 
2.48.1

Re: [PATCH 0/2] selftests/pidfd: Fix missing headers
Posted by Peter Seiderer 11 months, 1 week ago
Hello Siddharth,

On Mon,  3 Mar 2025 02:22:44 +0530, Siddharth Menon <simeddon@gmail.com> wrote:

> Fix compilation errors caused by missing headers in the pidfd selftest.
> 
> The errors include:
> pidfd_fdinfo_test.c:230:13: error: implicit declaration of function ‘mount’
> pidfd_setns_test.c:172:54: error: implicit declaration of function ‘ioctl’
> 
> Siddharth Menon (2):
>   selftests/pidfd: Fix missing header
>   selftests/pidfd: Fix missing header
> 
>  tools/testing/selftests/pidfd/pidfd_fdinfo_test.c | 1 +
>  tools/testing/selftests/pidfd/pidfd_setns_test.c  | 1 +
>  2 files changed, 2 insertions(+)
> 

Predated patches already available, see

        https://lore.kernel.org/linux-kselftest/20250115105211.390370-1-ps.report@gmx.net/
        https://lore.kernel.org/linux-kselftest/20250115105211.390370-2-ps.report@gmx.net/
	https://lore.kernel.org/linux-kselftest/20250115105211.390370-3-ps.report@gmx.net/

Regards,
Peter