From: Adhemerval Zanella Date: Fri, 3 Oct 2025 19:39:04 +0000 (-0300) Subject: Add FD_PIDFS_ROOT from Linux 6.17 to bits/fcntl-linux.h X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c0be0b4527dd97a9cbdb97f6b48471b12dcd9a94;p=thirdparty%2Fglibc.git Add FD_PIDFS_ROOT from Linux 6.17 to bits/fcntl-linux.h It was added by commit 3941e37f62fe2c3c8b8675c12183185f20450539 Reviewed-by: Carlos O'Donell --- 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(). */