diff options
Diffstat (limited to 'init/signal_handler.c')
-rw-r--r-- | init/signal_handler.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/init/signal_handler.c b/init/signal_handler.c index b170132..abccb40 100644 --- a/init/signal_handler.c +++ b/init/signal_handler.c @@ -131,11 +131,9 @@ void signal_init(void) int s[2]; struct sigaction act; - + memset(&act, 0, sizeof(act)); act.sa_handler = sigchld_handler; act.sa_flags = SA_NOCLDSTOP; - act.sa_mask = 0; - act.sa_restorer = NULL; sigaction(SIGCHLD, &act, 0); /* create a signalling mechanism for the sigchld handler */ |