]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add FD_PIDFS_ROOT from Linux 6.17 to bits/fcntl-linux.h
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 3 Oct 2025 19:39:04 +0000 (16:39 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 5 Nov 2025 10:15:52 +0000 (07:15 -0300)
It was added by commit 3941e37f62fe2c3c8b8675c12183185f20450539

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
sysdeps/unix/sysv/linux/bits/fcntl-linux.h

index 16c83e3349fff06d759ff4368281b6b826736101..f9b3de11f44263f91d0252764fbb20e4ea501347 100644 (file)
 
 /* 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().  */