[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20070313044329.GB8884@us.ibm.com>
Date: Mon, 12 Mar 2007 21:43:29 -0700
From: sukadev@...ibm.com
To: Andrew Morton <akpm@...l.org>
Cc: Cedric Le Goater <clg@...ibm.com>,
Dave Hansen <haveblue@...ibm.com>,
Serge Hallyn <serue@...ibm.com>,
Eric Biederman <ebiederm@...ssion.com>,
Herbert Poetzl <herbert@...hfloor.at>,
containers@...ts.osdl.org, linux-kernel@...r.kernel.org
Subject: [PATCH 2/5] Explicitly set pgid and sid of init process
From: Sukadev Bhattiprolu <sukadev@...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@...ibm.com>
Cc: Cedric Le Goater <clg@...ibm.com>
Cc: Dave Hansen <haveblue@...ibm.com>
Cc: Serge Hallyn <serue@...ibm.com>
Cc: Eric Biederman <ebiederm@...ssion.com>
Cc: Herbert Poetzl <herbert@...hfloor.at>
Cc: <containers@...ts.osdl.org>
Acked-by: Eric W. Biederman <ebiederm@...ssion.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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists