From c0be0b4527dd97a9cbdb97f6b48471b12dcd9a94 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 3 Oct 2025 16:39:04 -0300 Subject: [PATCH] Add FD_PIDFS_ROOT from Linux 6.17 to bits/fcntl-linux.h It was added by commit 3941e37f62fe2c3c8b8675c12183185f20450539 Reviewed-by: Carlos O'Donell --- sysdeps/unix/sysv/linux/bits/fcntl-linux.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h index 16c83e3349..f9b3de11f4 100644 --- a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h +++ b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h @@ -219,6 +219,9 @@ /* For F_[GET|SET]FD. */ #define FD_CLOEXEC 1 /* Actually anything with low bit set goes */ +#ifdef __USE_GNU +# define FD_PIDFS_ROOT -10002 /* Root of the pidfs filesystem */ +#endif #ifndef F_RDLCK /* For posix fcntl() and `l_type' field of a `struct flock' for lockf(). */ -- 2.47.3