aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2025-04-22 17:00:34 +0000
committerJoseph Myers <josmyers@redhat.com>2025-04-22 17:00:34 +0000
commitcf9241107d12e79073ddb03bab9de115e5e0e856 (patch)
tree952c57bc67110b0a5cf387303d6fc7fbd972268e /sysdeps/unix
parent39183b953c68a489cc0b9aefb8974711c834fb38 (diff)
downloadglibc-cf9241107d12e79073ddb03bab9de115e5e0e856.zip
glibc-cf9241107d12e79073ddb03bab9de115e5e0e856.tar.gz
glibc-cf9241107d12e79073ddb03bab9de115e5e0e856.tar.bz2
Add AT_* constants from Linux 6.12
Linux 6.12 adds AT_RENAME_* aliases for RENAME_* flags for renameat2, and also AT_HANDLE_MNT_ID_UNIQUE. Add the first set of aliases to stdio.h alongside the RENAME_* names, and AT_HANDLE_MNT_ID_UNIQUE to bits/fcntl-linux.h. Tested for x86_64.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/bits/fcntl-linux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
index dfc554a..f425a4b 100644
--- a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
+++ b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
@@ -379,6 +379,8 @@ struct file_handle
identity and may not
be usable to
open_by_handle_at. */
+# define AT_HANDLE_MNT_ID_UNIQUE 1 /* Return the 64-bit unique mount
+ ID. */
#endif
__BEGIN_DECLS