commit | 186685d46fa6a15a328509543bb354d43bc719b0 | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Thu Sep 12 15:44:53 2002 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Thu Sep 12 15:44:53 2002 +0000 |
tree | 71c8cef8ac84e372d501c678706880c833d871e5 | |
parent | 4d0884a1eaefb7af31f8039f3aa9128362535716 [diff] |
Patch from Thomas Gleixner <tglx@linutronix.de> to do automatic child reaping to avoid zombies
diff --git a/init/init.c b/init/init.c index 7ab50cf..013f55c 100644 --- a/init/init.c +++ b/init/init.c
@@ -1061,6 +1061,7 @@ 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... */