diff options
author | Eric Andersen | 2002-09-25 15:08:40 +0000 |
---|---|---|
committer | Eric Andersen | 2002-09-25 15:08:40 +0000 |
commit | a920871c3ae0f83ccf9be4c314448cece719b3df (patch) | |
tree | 569d40587716c379dc39f806856f0728f2479f42 /init/init.c | |
parent | 5a66b640f963ff48a06e3649a6df76819963508b (diff) | |
download | busybox-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.c | 1 |
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... */ |