Patch from Thomas Gleixner <tglx@linutronix.de> to do

automatic child reaping to avoid zombies
This commit is contained in:
Eric Andersen 2002-09-12 15:44:53 +00:00
parent 4d0884a1ea
commit 186685d46f

View File

@ -1061,6 +1061,7 @@ 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... */