Add new STATX_* constants from Linux 5.8 to bits/statx-generic.h.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 19 Aug 2020 13:47:37 +0000 (13:47 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 19 Aug 2020 13:47:37 +0000 (13:47 +0000)
commit88a2cf6c4bab6e94a65e9c0db8813709372e9180
tree21749a6e18678f7503a27aee40070dcae00c1ef9
parentc4e4b2e149705559d28b16a9b47ba2f6142d6a6c
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.
io/bits/statx-generic.h