public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Add AT_RECURSIVE from Linux 5.2 to fcntl.h.
@ 2019-08-06 21:18 Joseph Myers
0 siblings, 0 replies; only message in thread
From: Joseph Myers @ 2019-08-06 21:18 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d8b97803698dca2116de1d3e2eee35cc8cef6888
commit d8b97803698dca2116de1d3e2eee35cc8cef6888
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue Aug 6 21:17:59 2019 +0000
Add AT_RECURSIVE from Linux 5.2 to fcntl.h.
This patch adds the AT_RECURSIVE constant from Linux 5.2 to glibc's
fcntl.h. (Existing practice in glibc is that the AT_* constants go
directly in io/fcntl.h rather than somewhere OS-specific.)
Tested for x86_64.
* io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
Diff:
---
ChangeLog | 4 ++++
io/fcntl.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 531fd18..53ccbf5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-08-06 Joseph Myers <joseph@codesourcery.com>
+
+ * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
+
2019-07-02 Stefan Liebler <stli@linux.ibm.com>
* sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
diff --git a/io/fcntl.h b/io/fcntl.h
index 7af8dfb..1043d27 100644
--- a/io/fcntl.h
+++ b/io/fcntl.h
@@ -161,6 +161,7 @@ typedef __pid_t pid_t;
# define AT_STATX_SYNC_AS_STAT 0x0000
# define AT_STATX_FORCE_SYNC 0x2000
# define AT_STATX_DONT_SYNC 0x4000
+# define AT_RECURSIVE 0x8000 /* Apply to the entire subtree. */
# endif
# define AT_EACCESS 0x200 /* Test access permitted for
effective IDs, not real IDs. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-06 21:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-06 21:18 [glibc] Add AT_RECURSIVE from Linux 5.2 to fcntl.h Joseph Myers
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).