diff mbox series

Add STATX_ATTR_VERITY from Linux 5.5 to bits/statx-generic.h

Message ID alpine.DEB.2.21.2002072158290.3924@digraph.polyomino.org.uk
State New
Headers show
Series Add STATX_ATTR_VERITY from Linux 5.5 to bits/statx-generic.h | expand

Commit Message

Joseph Myers Feb. 7, 2020, 9:58 p.m. UTC
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.

Comments

Joseph Myers Feb. 13, 2020, 8:44 p.m. UTC | #1
Ping.  This patch 
<https://sourceware.org/ml/libc-alpha/2020-02/msg00172.html> is pending 
review.
H.J. Lu Feb. 13, 2020, 9:48 p.m. UTC | #2
On Fri, Feb 7, 2020 at 1:59 PM Joseph Myers <joseph@codesourcery.com> wrote:
>
> 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.
>
> diff --git a/io/bits/statx-generic.h b/io/bits/statx-generic.h
> index 932887bd89..7a09e94be2 100644
> --- a/io/bits/statx-generic.h
> +++ b/io/bits/statx-generic.h
> @@ -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
>
> --
> Joseph S. Myers
> joseph@codesourcery.com

LGTM.
diff mbox series

Patch

diff --git a/io/bits/statx-generic.h b/io/bits/statx-generic.h
index 932887bd89..7a09e94be2 100644
--- a/io/bits/statx-generic.h
+++ b/io/bits/statx-generic.h
@@ -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