From 186685d46fa6a15a328509543bb354d43bc719b0 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 12 Sep 2002 15:44:53 +0000 Subject: Patch from Thomas Gleixner to do automatic child reaping to avoid zombies --- init/init.c | 1 + 1 file changed, 1 insertion(+) (limited to 'init/init.c') diff --git a/init/init.c b/init/init.c index 7ab50cffe..013f55c68 100644 --- a/init/init.c +++ b/init/init.c @@ -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... */ -- cgit v1.2.3