public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Joseph Myers <jsm28@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc] Add new STATX_* constants from Linux 5.8 to bits/statx-generic.h. Date: Wed, 19 Aug 2020 13:48:03 +0000 (GMT) [thread overview] Message-ID: <20200819134803.A8D263857C67@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=88a2cf6c4bab6e94a65e9c0db8813709372e9180 commit 88a2cf6c4bab6e94a65e9c0db8813709372e9180 Author: Joseph Myers <joseph@codesourcery.com> Date: Wed Aug 19 13:47:37 2020 +0000 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. Diff: --- io/bits/statx-generic.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/io/bits/statx-generic.h b/io/bits/statx-generic.h index 7a09e94be2..c34697e3c1 100644 --- a/io/bits/statx-generic.h +++ b/io/bits/statx-generic.h @@ -40,6 +40,7 @@ # define STATX_BASIC_STATS 0x07ffU # define STATX_ALL 0x0fffU # define STATX_BTIME 0x0800U +# define STATX_MNT_ID 0x1000U # define STATX__RESERVED 0x80000000U # define STATX_ATTR_COMPRESSED 0x0004 @@ -48,7 +49,9 @@ # define STATX_ATTR_NODUMP 0x0040 # define STATX_ATTR_ENCRYPTED 0x0800 # define STATX_ATTR_AUTOMOUNT 0x1000 +# define STATX_ATTR_MOUNT_ROOT 0x2000 # define STATX_ATTR_VERITY 0x100000 +# define STATX_ATTR_DAX 0x2000 #endif /* !STATX_TYPE */ __BEGIN_DECLS
reply other threads:[~2020-08-19 13:48 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20200819134803.A8D263857C67@sourceware.org \ --to=jsm28@sourceware.org \ --cc=glibc-cvs@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: linkBe 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).