diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-06-12 12:04:09 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-06-12 13:04:43 +0200 |
commit | 5dad6ffbb2b76215cfcd38c3001778536ada8e8a (patch) | |
tree | 3e4e55117be3039d516c14243beddb9041469d5b /ChangeLog | |
parent | 4e75c2a43bb3208f32556a2b19c939cfe1f54ba6 (diff) | |
download | glibc-5dad6ffbb2b76215cfcd38c3001778536ada8e8a.tar.gz glibc-5dad6ffbb2b76215cfcd38c3001778536ada8e8a.tar.xz glibc-5dad6ffbb2b76215cfcd38c3001778536ada8e8a.zip |
<sys/stat.h>: Use Linux UAPI header for statx if available and useful
This will automatically import new STATX_* constants. It also avoids a conflict between <sys/stat.h> and <linux/stat.h>.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 0033023179..b2aa19a58d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,22 @@ 2019-06-12 Florian Weimer <fweimer@redhat.com> + Linux: Use kernel headers for statx definitions if available. + * include/bits/statx-generic.h: New file. + * include/bits/types/struct_statx.h: Likewise. + * include/bits/types/struct_statx_timestamp.h: Likewise. + * io/Makefile (headers): Add bits/statx-generic.h. + * io/bits/statx-generic.h: New file. Partly copied from + io/bits/statx.h. + * io/statx_generic.c: Include <bits/types/struct_statx.h> to + define original_statx. + * io/bits/types/struct_statx.h: Likewise. + * io/bits/types/struct_statx_timestamp.h: Likewise. + (statx_generic): Use original_statx. + * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>. + * sysdeps/unix/sysv/linux/bits/statx.h: New file. + +2019-06-12 Florian Weimer <fweimer@redhat.com> + * misc/sys/cdefs.h (__glibc_has_include): Define. 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com> |