summaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
authorEric Andersen2002-09-25 15:08:40 +0000
committerEric Andersen2002-09-25 15:08:40 +0000
commita920871c3ae0f83ccf9be4c314448cece719b3df (patch)
tree569d40587716c379dc39f806856f0728f2479f42 /init/init.c
parent5a66b640f963ff48a06e3649a6df76819963508b (diff)
downloadbusybox-a920871c3ae0f83ccf9be4c314448cece719b3df.zip
busybox-a920871c3ae0f83ccf9be4c314448cece719b3df.tar.gz
Ignoring SIGCHLD causes a race leading to the occasional hang of init
when init will wait() on itself in waitfor() when the child exits before init is scheduled to run. Letting init hang is very seriously bad. -Erik
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c
index ab2d0ea..989babf 100644
--- a/init/init.c
+++ b/init/init.c
@@ -1063,7 +1063,6 @@ extern int init_main(int argc, char **argv)
signal(SIGCONT, cont_handler);
signal(SIGSTOP, stop_handler);
signal(SIGTSTP, stop_handler);
- signal(SIGCHLD, SIG_IGN);
/* Turn off rebooting via CTL-ALT-DEL -- we get a
* SIGINT on CAD so we can shut things down gracefully... */