[Devel] [PATCH 19/28] [FLAT 4/6] init_pid initialization
Pavel Emelianov
xemul at openvz.org
Fri Jun 15 09:19:15 PDT 2007
Initialize numerical for flat model (see [PREP 5/14])
Signed-off-by: Pavel Emelianov <xemul at openvz.org>
---
init_task.h | 8 ++++++++
1 files changed, 8 insertions(+)
--- ./include/linux/init_task.h.flatinitpid 2007-06-15 15:01:59.000000000 +0400
+++ ./include/linux/init_task.h 2007-06-15 15:24:00.000000000 +0400
@@ -96,6 +96,14 @@ extern struct group_info init_groups;
.pid_chain = { .next = NULL, .pprev = NULL }, \
#else
+#ifdef CONFIG_PID_NS_FLAT
+#define INIT_STRUCT_PID_NRS \
+ .nr = 0, \
+ .vnr = 0, \
+ .ns = &init_pid_ns, \
+ .pid_chain = { .next = NULL, .pprev = NULL }, \
+
+#endif
#endif
#define INIT_STRUCT_PID { \
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list