diff options
author | Joseph Myers <joseph@codesourcery.com> | 2019-08-06 21:17:59 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2019-08-06 21:17:59 +0000 |
commit | d8b97803698dca2116de1d3e2eee35cc8cef6888 (patch) | |
tree | 236d19522638867ce1238986a1bec240127aded2 /io | |
parent | s390: Fix Enable VDSO for static linking (diff) | |
download | glibc-d8b97803698dca2116de1d3e2eee35cc8cef6888.tar.gz glibc-d8b97803698dca2116de1d3e2eee35cc8cef6888.tar.bz2 glibc-d8b97803698dca2116de1d3e2eee35cc8cef6888.zip |
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.
Diffstat (limited to 'io')
-rw-r--r-- | io/fcntl.h | 1 |
1 files changed, 1 insertions, 0 deletions
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. */ |