Skip to content

Commit dbfeea5

Browse files
committed
pidfs/selftests: ensure correct headers for ioctl handling
JIRA: https://issues.redhat.com/browse/RHEL-107520 Conflicts: A context diff due to missing upstream commit 59a42b0 ("selftests/pidfd: add pidfs file handle selftests"). commit 18938f7 Author: Christian Brauner <brauner@kernel.org> Date: Wed, 5 Mar 2025 11:08:18 +0100 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> Signed-off-by: Waiman Long <longman@redhat.com>
1 parent f51b3b3 commit dbfeea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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 "../clone3/clone3_selftests.h"

0 commit comments

Comments
 (0)