The patch titled sys_setsid: remove now unneeded session != 1 check has been removed from the -mm tree. Its filename was sys_setsid-remove-now-unneeded-session-=-1-check.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: sys_setsid: remove now unneeded session != 1 check From: Oleg Nesterov <oleg@xxxxxxxxxx> Eric's "fix clone(CLONE_NEWPID)" eliminated the last reason for this hack. Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx> Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> Cc: Roland McGrath <roland@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/sys.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff -puN kernel/sys.c~sys_setsid-remove-now-unneeded-session-=-1-check kernel/sys.c --- a/kernel/sys.c~sys_setsid-remove-now-unneeded-session-=-1-check +++ a/kernel/sys.c @@ -1056,11 +1056,8 @@ asmlinkage long sys_setsid(void) /* Fail if a process group id already exists that equals the * proposed session id. - * - * Don't check if session == 1, clone(CLONE_NEWPID) creates - * this group/session beforehand. */ - if (session != 1 && pid_task(sid, PIDTYPE_PGID)) + if (pid_task(sid, PIDTYPE_PGID)) goto out; group_leader->signal->leader = 1; _ Patches currently in -mm which might be from oleg@xxxxxxxxxx are origin.patch revert-proc-fix-the-threaded-proc-self.patch procfs-task-exe-symlink.patch procfs-task-exe-symlink-fix.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