summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-11-11 00:23:11 +0100
committerChristian Brauner <brauner@kernel.org>2026-11-11 00:23:11 +0100
commitf849c67cd0f87146abfc5c452b6580729957aa80 (patch)
tree54aa74e8c928cf0387bb8e9a1f6ece90fe08849b /include/uapi/linux
parent76d7b34918d9f22b88dc056f440532abefe1e233 (diff)
parentfa9433d8e7a5ca4dd8369e3b5404c299fce82e40 (diff)
downloadlinux-next-f849c67cd0f87146abfc5c452b6580729957aa80.tar.gz
linux-next-f849c67cd0f87146abfc5c452b6580729957aa80.zip
Merge branch 'vfs-7.5.pidfd' into vfs.all
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/pidfd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/uapi/linux/pidfd.h b/include/uapi/linux/pidfd.h
index 0919246a1611..95ce1819f423 100644
--- a/include/uapi/linux/pidfd.h
+++ b/include/uapi/linux/pidfd.h
@@ -121,4 +121,11 @@ struct pidfd_info {
#define PIDFD_GET_UTS_NAMESPACE _IO(PIDFS_IOCTL_MAGIC, 10)
#define PIDFD_GET_INFO _IOWR(PIDFS_IOCTL_MAGIC, 11, struct pidfd_info)
+/* Return an O_PATH file descriptor for the target task's executable. */
+#define PIDFD_GET_EXE _IO(PIDFS_IOCTL_MAGIC, 12)
+/* Return an O_PATH file descriptor for the target task's working directory. */
+#define PIDFD_GET_CWD _IO(PIDFS_IOCTL_MAGIC, 13)
+/* Return an O_PATH file descriptor for the target task's root directory. */
+#define PIDFD_GET_ROOT _IO(PIDFS_IOCTL_MAGIC, 14)
+
#endif /* _UAPI_LINUX_PIDFD_H */