Unverified Commit 3941e37f authored by Christian Brauner's avatar Christian Brauner
Browse files

uapi/fcntl: add FD_PIDFS_ROOT



Add a special file descriptor indicating the root of the pidfs
filesystem.

Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent cd5d2006
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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. */