From: Siddharth Menon <simeddon@gmail.com>
To: shuah@kernel.org, brauner@kernel.org
Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org,
Siddharth Menon <simeddon@gmail.com>
Subject: [PATCH 2/2] selftests/pidfd: Fix missing header
Date: Mon, 3 Mar 2025 02:22:46 +0530 [thread overview]
Message-ID: <20250302205859.14782-3-simeddon@gmail.com> (raw)
In-Reply-To: <20250302205859.14782-1-simeddon@gmail.com>
Fix compilation errors caused by the missing sys/ioctl.h header
---
tools/testing/selftests/pidfd/pidfd_setns_test.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/pidfd/pidfd_setns_test.c b/tools/testing/selftests/pidfd/pidfd_setns_test.c
index 222f8131283b..4c8a0253a64f 100644
--- a/tools/testing/selftests/pidfd/pidfd_setns_test.c
+++ b/tools/testing/selftests/pidfd/pidfd_setns_test.c
@@ -17,6 +17,7 @@
#include <sys/socket.h>
#include <sys/stat.h>
#include <linux/ioctl.h>
+#include <sys/ioctl.h>
#include "pidfd.h"
#include "../kselftest_harness.h"
--
2.48.1
next prev parent reply other threads:[~2025-03-02 20:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-02 20:52 [PATCH 0/2] selftests/pidfd: Fix missing headers Siddharth Menon
2025-03-02 20:52 ` [PATCH 1/2] selftests/pidfd: Fix missing header Siddharth Menon
2025-03-02 20:52 ` Siddharth Menon [this message]
2025-03-03 9:14 ` [PATCH 0/2] selftests/pidfd: Fix missing headers Peter Seiderer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250302205859.14782-3-simeddon@gmail.com \
--to=simeddon@gmail.com \
--cc=brauner@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=shuah@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.