diff options
| author | Christian Brauner <brauner@kernel.org> | 2025-06-24 16:57:51 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-06-24 16:58:42 +0200 |
| commit | 3941e37f62fe2c3c8b8675c12183185f20450539 (patch) | |
| tree | 5b7642ba31feb3fae1213d10e09eac21d44cfff5 /include/uapi/linux | |
| parent | cd5d2006327b6d8488612cb8c03ad7304417c8f2 (diff) | |
uapi/fcntl: add FD_PIDFS_ROOT
Add a special file descriptor indicating the root of the pidfs
filesystem.
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/fcntl.h | 1 |
1 files changed, 1 insertions, 0 deletions
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. */ |
