diff options
| author | Christian Brauner <brauner@kernel.org> | 2025-03-05 11:08:18 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-03-05 13:26:20 +0100 |
| commit | 18938f718085c3945cac9482154e6d453d934af1 (patch) | |
| tree | 94d18f06e5cbefec3fdba838aaa32fb360ace4ae /tools | |
| parent | 17457a47d22651970bd74d9c474c1864d8e46f53 (diff) | |
pidfs/selftests: ensure correct headers for ioctl handling
Ensure that necessary ioctl infrastructure is available.
Link: https://lore.kernel.org/r/20250305-work-pidfs-kill_on_last_close-v3-8-c8c3d8361705@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/testing/selftests/pidfd/pidfd_setns_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/pidfd/pidfd_setns_test.c b/tools/testing/selftests/pidfd/pidfd_setns_test.c index 222f8131283b..d9e715de68b3 100644 --- a/tools/testing/selftests/pidfd/pidfd_setns_test.c +++ b/tools/testing/selftests/pidfd/pidfd_setns_test.c @@ -16,7 +16,7 @@ #include <unistd.h> #include <sys/socket.h> #include <sys/stat.h> -#include <linux/ioctl.h> +#include <sys/ioctl.h> #include "pidfd.h" #include "../kselftest_harness.h" |
