[PATCH 10/15] Add OPEN_TREE_NAMESPACE from Linux 7.0 to sys/mount.h
Adhemerval Zanella
adhemerval.zanella@linaro.org
Thu Jul 2 18:38:41 GMT 2026
It was added by commit 9b8a0ba68246a61d903ce62c35c303b1501df28b.
---
sysdeps/unix/sysv/linux/sys/mount.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sysdeps/unix/sysv/linux/sys/mount.h b/sysdeps/unix/sysv/linux/sys/mount.h
index 0c5ebed33ae..964ec971b7c 100644
--- a/sysdeps/unix/sysv/linux/sys/mount.h
+++ b/sysdeps/unix/sysv/linux/sys/mount.h
@@ -267,6 +267,10 @@ enum fsconfig_command
#ifndef OPEN_TREE_CLONE
# define OPEN_TREE_CLONE 1 /* Clone the target tree and attach the clone */
#endif
+#ifndef OPEN_TREE_NAMESPACE
+# define OPEN_TREE_NAMESPACE 2 /* Clone the target tree into a new mount
+ namespace */
+#endif
#ifndef O_CLOEXEC
# include <bits/cloexec.h>
# define O_CLOEXEC __O_CLOEXEC
--
2.43.0
More information about the Libc-alpha
mailing list