public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: "H.J. Lu" <hjl.tools@gmail.com>
To: Joseph Myers <joseph@codesourcery.com>
Cc: GNU C Library <libc-alpha@sourceware.org>
Subject: Re: Add STATX_ATTR_VERITY from Linux 5.5 to bits/statx-generic.h
Date: Thu, 13 Feb 2020 21:49:00 -0000	[thread overview]
Message-ID: <CAMe9rOpZhi2qvOO0eR3p-80h1jHuo28VP_ShPwq8X4MRcKLe6w@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.21.2002072158290.3924@digraph.polyomino.org.uk>

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.

-- 
H.J.

      parent reply	other threads:[~2020-02-13 21:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-07 21:59 Joseph Myers
2020-02-13 20:44 ` Ping " Joseph Myers
2020-02-13 21:49 ` H.J. Lu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMe9rOpZhi2qvOO0eR3p-80h1jHuo28VP_ShPwq8X4MRcKLe6w@mail.gmail.com \
    --to=hjl.tools@gmail.com \
    --cc=joseph@codesourcery.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).