The patch titled Explicitly set pgid/sid of init has been removed from the -mm tree. Its filename was explicitly-set-pgid-sid-of-init.patch This patch was dropped because an updated version will be merged ------------------------------------------------------ Subject: Explicitly set pgid/sid of init From: Sukadev Bhattiprolu <sukadev@xxxxxxxxxx> Explicitly set pgid and sid of init process to 1. Signed-off-by: Sukadev Bhattiprolu <sukadev@xxxxxxxxxx> Cc: Cedric Le Goater <clg@xxxxxxxxxx> Cc: Dave Hansen <haveblue@xxxxxxxxxx> Cc: Serge Hallyn <serue@xxxxxxxxxx> Cc: Eric Biederman <ebiederm@xxxxxxxxxxxx> Cc: Herbert Poetzl <herbert@xxxxxxxxxxxx> Cc: <containers@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- init/main.c | 1 + kernel/exit.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff -puN init/main.c~explicitly-set-pgid-sid-of-init init/main.c --- a/init/main.c~explicitly-set-pgid-sid-of-init +++ a/init/main.c @@ -769,6 +769,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); diff -puN kernel/exit.c~explicitly-set-pgid-sid-of-init kernel/exit.c --- a/kernel/exit.c~explicitly-set-pgid-sid-of-init +++ a/kernel/exit.c @@ -297,12 +297,12 @@ void __set_special_pids(pid_t session, p { struct task_struct *curr = current->group_leader; - if (process_session(curr) != session) { + if (pid_nr(task_session(curr)) != session) { detach_pid(curr, PIDTYPE_SID); set_signal_session(curr->signal, session); attach_pid(curr, PIDTYPE_SID, find_pid(session)); } - if (process_group(curr) != pgrp) { + if (pid_nr(task_pgrp(curr)) != pgrp) { detach_pid(curr, PIDTYPE_PGID); curr->signal->pgrp = pgrp; attach_pid(curr, PIDTYPE_PGID, find_pid(pgrp)); _ Patches currently in -mm which might be from sukadev@xxxxxxxxxx are explicitly-set-pgid-sid-of-init.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html