Explicitly set pgid and sid of init process
PATCH 2/5 Explicitly set pgid and sid of init process
From: Sukadev Bhattiprolu <[email protected]>
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 <[email protected]>
Cc Cedric Le Goater <[email protected]>
Cc Dave Hansen <[email protected]>
Cc Serge Hallyn <[email protected]>
Cc Eric Biederman <[email protected]>
Cc Herbert Poetzl <[email protected]>
Cc <[email protected]>
---
init/main.c | 1 + 1 file changed, 1 insertion(+)
init/main.c +1 -0
@@ -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);