Skip to content

Commit

Permalink
Add AT_RECURSIVE from Linux 5.2 to fcntl.h.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jsm28 committed Aug 6, 2019
1 parent 8d454ab commit d8b9780
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2019-08-06 Joseph Myers <[email protected]>

* io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.

2019-07-02 Stefan Liebler <[email protected]>

* sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
Expand Down
1 change: 1 addition & 0 deletions io/fcntl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit d8b9780

Please sign in to comment.