From: Christian Brauner Date: Tue, 24 Jun 2025 14:57:51 +0000 (+0200) Subject: uapi/fcntl: add FD_PIDFS_ROOT X-Git-Tag: block-6.17-20250808~55^2~3^2~2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=3941e37f62fe2c3c8b8675c12183185f20450539;p=linux-block.git uapi/fcntl: add FD_PIDFS_ROOT Add a special file descriptor indicating the root of the pidfs filesystem. Signed-off-by: Christian Brauner --- diff --git a/include/uapi/linux/fcntl.h b/include/uapi/linux/fcntl.h index a5bebe7c4400..f291ab4f94eb 100644 --- a/include/uapi/linux/fcntl.h +++ b/include/uapi/linux/fcntl.h @@ -110,6 +110,7 @@ #define PIDFD_SELF_THREAD -10000 /* Current thread. */ #define PIDFD_SELF_THREAD_GROUP -10001 /* Current thread group leader. */ +#define FD_PIDFS_ROOT -10002 /* Root of the pidfs filesystem */ #define FD_INVALID -10009 /* Invalid file descriptor: -10000 - EBADF = -10009 */ /* Generic flags for the *at(2) family of syscalls. */