mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-17 13:00:43 +08:00
Add new STATX_* constants from Linux 5.8 to bits/statx-generic.h.
This patch adds the new STATX_MNT_ID, STATX_ATTR_MOUNT_ROOT and STATX_ATTR_DAX macros from Linux 5.8 to glibc's bits/statx-generic.h. (As with previous such changes, this only does anything if glibc is being used with old kernel headers.) A comment in the Linux kernel headers indicates that STATX_ALL is deliberately not being changed. Tested for x86_64.
This commit is contained in:
parent
c4e4b2e149
commit
88a2cf6c4b
@ -40,6 +40,7 @@
|
||||
# define STATX_BASIC_STATS 0x07ffU
|
||||
# define STATX_ALL 0x0fffU
|
||||
# define STATX_BTIME 0x0800U
|
||||
# define STATX_MNT_ID 0x1000U
|
||||
# define STATX__RESERVED 0x80000000U
|
||||
|
||||
# define STATX_ATTR_COMPRESSED 0x0004
|
||||
@ -48,7 +49,9 @@
|
||||
# define STATX_ATTR_NODUMP 0x0040
|
||||
# define STATX_ATTR_ENCRYPTED 0x0800
|
||||
# define STATX_ATTR_AUTOMOUNT 0x1000
|
||||
# define STATX_ATTR_MOUNT_ROOT 0x2000
|
||||
# define STATX_ATTR_VERITY 0x100000
|
||||
# define STATX_ATTR_DAX 0x2000
|
||||
#endif /* !STATX_TYPE */
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
Loading…
Reference in New Issue
Block a user