summaryrefslogtreecommitdiff
path: root/accel-pptpd/sigchld.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/sigchld.c')
-rw-r--r--accel-pptpd/sigchld.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/accel-pptpd/sigchld.c b/accel-pptpd/sigchld.c
index 3843e4f7..fd07c0a6 100644
--- a/accel-pptpd/sigchld.c
+++ b/accel-pptpd/sigchld.c
@@ -27,19 +27,11 @@ static void* sigchld_thread(void *arg)
int status, sig;
sigfillset(&set);
+ sigdelset(&set, SIGKILL);
+ sigdelset(&set, SIGSTOP);
pthread_sigmask(SIG_BLOCK, &set, NULL);
sigemptyset(&set);
- sigaddset(&set, SIGUSR1);
- sigaddset(&set, SIGQUIT);
- sigaddset(&set, SIGSEGV);
- sigaddset(&set, SIGFPE);
- sigaddset(&set, SIGILL);
- sigaddset(&set, SIGBUS);
- sigaddset(&set, SIGCHLD);
- pthread_sigmask(SIG_UNBLOCK, &set, NULL);
-
- sigemptyset(&set);
sigaddset(&set, SIGCHLD);
sigaddset(&set, SIGQUIT);