linux/init
Oleg Nesterov 430c623121 start the global /sbin/init with 0,0 special pids
As Eric pointed out, there is no problem with init starting with sid == pgid
== 0, and this was historical linux behavior changed in 2.6.18.

Remove kernel_init()->__set_special_pids(), this is unneeded and complicates
the rules for sys_setsid().

This change and the previous change in daemonize() mean that /sbin/init does
not need the special "session != 1" hack in sys_setsid() any longer. We can't
remove this check yet, we should cleanup copy_process(CLONE_NEWPID) first, so
update the comment only.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-08 09:22:27 -08:00
..
calibrate.c calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
do_mounts_initrd.c
do_mounts_md.c
do_mounts_rd.c
do_mounts.c proper prototype for get_filesystem_list() 2008-02-06 10:41:02 -08:00
do_mounts.h
initramfs.c ACPI: basic initramfs DSDT override support 2008-02-06 22:07:41 -05:00
Kconfig namespaces: cleanup the code managed with PID_NS option 2008-02-08 09:22:23 -08:00
main.c start the global /sbin/init with 0,0 special pids 2008-02-08 09:22:27 -08:00
Makefile
noinitramfs.c
version.c