diff options
Diffstat (limited to 'accel-pptpd/triton/timer.c')
-rw-r--r-- | accel-pptpd/triton/timer.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/accel-pptpd/triton/timer.c b/accel-pptpd/triton/timer.c index 53abd3b..cbf2b13 100644 --- a/accel-pptpd/triton/timer.c +++ b/accel-pptpd/triton/timer.c @@ -60,16 +60,10 @@ void *timer_thread(void *arg) sigset_t set; sigfillset(&set); + sigdelset(&set, SIGKILL); + sigdelset(&set, SIGSTOP); pthread_sigmask(SIG_BLOCK, &set, NULL); - sigemptyset(&set); - sigaddset(&set, SIGQUIT); - sigaddset(&set, SIGSEGV); - sigaddset(&set, SIGFPE); - sigaddset(&set, SIGILL); - sigaddset(&set, SIGBUS); - pthread_sigmask(SIG_UNBLOCK, &set, NULL); - while(1) { n = epoll_wait(epoll_fd, epoll_events, max_events, -1); if (n < 0) { |