fcntl.h: add AT_RECURSIVE from linux v5.2
authorSzabolcs Nagy <nsz@port70.net>
Mon, 12 Aug 2019 18:30:00 +0000 (18:30 +0000)
committerRich Felker <dalias@aerifal.cx>
Wed, 11 Sep 2019 14:40:31 +0000 (10:40 -0400)
apply open_tree with OPEN_TREE_CLONE call to the entire subtree, see

  linux commit a07b20004793d8926f78d63eb5980559f7813404
  vfs: syscall: Add open_tree(2) to reference or clone a mount

include/fcntl.h

index 6c793b28b3bcca27fa8f6e624c81e0ee9e5b3db9..b664cdc441c169ba21d38697746726b5a7a6f136 100644 (file)
@@ -104,6 +104,7 @@ int posix_fallocate(int, off_t, off_t);
 #define AT_STATX_SYNC_AS_STAT 0x0000
 #define AT_STATX_FORCE_SYNC 0x2000
 #define AT_STATX_DONT_SYNC 0x4000
+#define AT_RECURSIVE 0x8000
 
 #define FAPPEND O_APPEND
 #define FFSYNC O_SYNC