Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-09-12 19:44:53 +0400
committerEric Andersen <andersen@codepoet.org>2002-09-12 19:44:53 +0400
commit186685d46fa6a15a328509543bb354d43bc719b0 (patch)
tree71c8cef8ac84e372d501c678706880c833d871e5 /init
parent4d0884a1eaefb7af31f8039f3aa9128362535716 (diff)
Patch from Thomas Gleixner <tglx@linutronix.de> to do
automatic child reaping to avoid zombies
Diffstat (limited to 'init')
-rw-r--r--init/init.c1
1 files changed, 1 insertions, 0 deletions
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... */