From: Sukadev Bhattiprolu Explicitly set pgid and sid of init process to 1. Signed-off-by: Sukadev Bhattiprolu Cc: Cedric Le Goater Cc: Dave Hansen Cc: Serge Hallyn Cc: Eric Biederman Cc: Herbert Poetzl Cc: Acked-by: Eric W. Biederman Signed-off-by: Andrew Morton --- init/main.c | 1 + 1 file changed, 1 insertion(+) diff -puN init/main.c~explicitly-set-pgid-and-sid-of-init-process init/main.c --- a/init/main.c~explicitly-set-pgid-and-sid-of-init-process +++ a/init/main.c @@ -783,6 +783,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); _