Skip to content

Commit 3941e37

Browse files
committed
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>
1 parent cd5d200 commit 3941e37

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/uapi/linux/fcntl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
#define PIDFD_SELF_THREAD -10000 /* Current thread. */
111111
#define PIDFD_SELF_THREAD_GROUP -10001 /* Current thread group leader. */
112112

113+
#define FD_PIDFS_ROOT -10002 /* Root of the pidfs filesystem */
113114
#define FD_INVALID -10009 /* Invalid file descriptor: -10000 - EBADF = -10009 */
114115

115116
/* Generic flags for the *at(2) family of syscalls. */

0 commit comments

Comments
 (0)