Add STATX_ATTR_VERITY from Linux 5.5 to bits/statx-generic.h.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 13 Feb 2020 21:59:59 +0000 (21:59 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 13 Feb 2020 21:59:59 +0000 (21:59 +0000)
This patch adds the new STATX_ATTR_VERITY macro from Linux 5.5 to
glibc's bits/statx-generic.h.  (This only does anything if glibc is
being used with old kernel headers.)

Tested for x86_64.

io/bits/statx-generic.h

index 932887b..7a09e94 100644 (file)
@@ -48,6 +48,7 @@
 # define STATX_ATTR_NODUMP 0x0040
 # define STATX_ATTR_ENCRYPTED 0x0800
 # define STATX_ATTR_AUTOMOUNT 0x1000
+# define STATX_ATTR_VERITY 0x100000
 #endif /* !STATX_TYPE */
 
 __BEGIN_DECLS