* [PATCH 2/5] Explicitly set pgid and sid of init process
@ 2007-03-13 4:43 sukadev
0 siblings, 0 replies; only message in thread
From: sukadev @ 2007-03-13 4:43 UTC (permalink / raw)
To: Andrew Morton
Cc: Cedric Le Goater, Dave Hansen, Serge Hallyn, Eric Biederman,
Herbert Poetzl, containers, linux-kernel
From: Sukadev Bhattiprolu <sukadev@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@us.ibm.com>
Cc: Cedric Le Goater <clg@fr.ibm.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Cc: Serge Hallyn <serue@us.ibm.com>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: Herbert Poetzl <herbert@13thfloor.at>
Cc: <containers@lists.osdl.org>
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
---
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-13 4:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-13 4:43 [PATCH 2/5] Explicitly set pgid and sid of init process sukadev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®