diff options
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/logs/log_file.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/accel-pppd/logs/log_file.c b/accel-pppd/logs/log_file.c index c759c32e..518f2c99 100644 --- a/accel-pppd/logs/log_file.c +++ b/accel-pppd/logs/log_file.c @@ -116,6 +116,12 @@ static void *log_thread(void *unused) int iov_cnt; LIST_HEAD(msg_list); LIST_HEAD(free_list); + sigset_t set; + + sigfillset(&set); + sigdelset(&set, SIGKILL); + sigdelset(&set, SIGSTOP); + pthread_sigmask(SIG_BLOCK, &set, NULL); while (1) { pthread_mutex_lock(&lock); |