[Devel] [patch -mm 09/17] nsproxy: add namespace flags
clg at fr.ibm.com
clg at fr.ibm.com
Tue Dec 5 02:28:01 PST 2006
From: Cedric Le Goater <clg at fr.ibm.com>
Signed-off-by: Cedric Le Goater <clg at fr.ibm.com>
---
include/linux/nsproxy.h | 11 +++++++++++
1 file changed, 11 insertions(+)
Index: 2.6.19-rc6-mm2/include/linux/nsproxy.h
===================================================================
--- 2.6.19-rc6-mm2.orig/include/linux/nsproxy.h
+++ 2.6.19-rc6-mm2/include/linux/nsproxy.h
@@ -14,6 +14,17 @@ struct net_namespace;
struct user_namespace;
/*
+ * namespaces flags
+ */
+#define NS_MNT 0x00000001
+#define NS_UTS 0x00000002
+#define NS_IPC 0x00000004
+#define NS_PID 0x00000008
+#define NS_NET 0x00000010
+#define NS_USER 0x00000020
+#define NS_ALL (NS_MNT|NS_UTS|NS_IPC|NS_PID|NS_NET|NS_USER)
+
+/*
* A structure to contain pointers to all per-process
* namespaces - fs (mount), uts, network, sysvipc, etc.
*
--
_______________________________________________
Containers mailing list
Containers at lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
More information about the Devel
mailing list