mirror of https://github.com/mirror/busybox.git
Patch from Thomas Gleixner <tglx@linutronix.de> to do
automatic child reaping to avoid zombies1_00_stable_10817
parent
4d0884a1ea
commit
186685d46f
|
@ -1061,6 +1061,7 @@ extern int init_main(int argc, char **argv)
|
||||||
signal(SIGCONT, cont_handler);
|
signal(SIGCONT, cont_handler);
|
||||||
signal(SIGSTOP, stop_handler);
|
signal(SIGSTOP, stop_handler);
|
||||||
signal(SIGTSTP, stop_handler);
|
signal(SIGTSTP, stop_handler);
|
||||||
|
signal(SIGCHLD, SIG_IGN);
|
||||||
|
|
||||||
/* Turn off rebooting via CTL-ALT-DEL -- we get a
|
/* Turn off rebooting via CTL-ALT-DEL -- we get a
|
||||||
* SIGINT on CAD so we can shut things down gracefully... */
|
* SIGINT on CAD so we can shut things down gracefully... */
|
||||||
|
|
Loading…
Reference in New Issue