Patch from Thomas Gleixner <tglx@linutronix.de> to do
automatic child reaping to avoid zombies
This commit is contained in:
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…
x
Reference in New Issue
Block a user