[Devel] [PATCH 2/5] Explicitly set pgid and sid of init process
sukadev at us.ibm.com
sukadev at us.ibm.com
Wed Feb 28 19:57:24 PST 2007
From: Sukadev Bhattiprolu <sukadev at us.ibm.com>
Subject: [PATCH 2/5] Explicitly set pgid and sid of init process
Explicitly set pgid and sid of init process to 1.
Signed-off-by: Sukadev Bhattiprolu <sukadev at us.ibm.com>
Cc: Cedric Le Goater <clg at fr.ibm.com>
Cc: Dave Hansen <haveblue at us.ibm.com>
Cc: Serge Hallyn <serue at us.ibm.com>
Cc: Eric Biederman <ebiederm at xmission.com>
Cc: Herbert Poetzl <herbert at 13thfloor.at>
Cc: <containers at lists.osdl.org>
Signed-off-by: Andrew Morton <akpm at osdl.org>
---
init/main.c | 1 +
1 file changed, 1 insertion(+)
Index: lx26-20-mm2c/init/main.c
===================================================================
--- lx26-20-mm2c.orig/init/main.c 2007-02-28 15:49:13.000000000 -0800
+++ lx26-20-mm2c/init/main.c 2007-02-28 15:49:35.000000000 -0800
@@ -791,6 +791,7 @@ static int __init init(void * unused)
*/
init_pid_ns.child_reaper = current;
+ __set_special_pids(1, 1);
cad_pid = task_pid(current);
smp_prepare_cpus(max_cpus);
_______________________________________________
Containers mailing list
Containers at lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
More information about the Devel
mailing list