about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--io/fcntl.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 531fd18bbe..53ccbf5e9e 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 7af8dfba69..1043d27ad9 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.  */