Skip to content

Commit 18938f7

Browse files
committed
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>
1 parent 17457a4 commit 18938f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/pidfd/pidfd_setns_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <unistd.h>
1717
#include <sys/socket.h>
1818
#include <sys/stat.h>
19-
#include <linux/ioctl.h>
19+
#include <sys/ioctl.h>
2020

2121
#include "pidfd.h"
2222
#include "../kselftest_harness.h"

0 commit comments

Comments
 (0)