summaryrefslogtreecommitdiff
path: root/src/xlat/open_tree_flags.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/xlat/open_tree_flags.in')
-rw-r--r--src/xlat/open_tree_flags.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/xlat/open_tree_flags.in b/src/xlat/open_tree_flags.in
new file mode 100644
index 000000000..3080dc083
--- /dev/null
+++ b/src/xlat/open_tree_flags.in
@@ -0,0 +1,10 @@
+OPEN_TREE_CLONE 1
+#if defined OPEN_TREE_CLOEXEC || defined O_CLOEXEC
+OPEN_TREE_CLOEXEC O_CLOEXEC
+#endif
+AT_SYMLINK_NOFOLLOW 0x100
+AT_REMOVEDIR 0x200
+AT_SYMLINK_FOLLOW 0x400
+AT_NO_AUTOMOUNT 0x800
+AT_EMPTY_PATH 0x1000
+AT_RECURSIVE 0x8000