summaryrefslogtreecommitdiffstats
path: root/hidd/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'hidd/main.c')
-rw-r--r--hidd/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hidd/main.c b/hidd/main.c
index cd1dceb9..7c478030 100644
--- a/hidd/main.c
+++ b/hidd/main.c
@@ -337,6 +337,11 @@ static void run_server(int ctl, int csk, int isk, uint8_t subclass, int nosdp, i
int err, ncsk, nisk;
sigfillset(&sigs);
+ sigdelset(&sigs, SIGCHLD);
+ sigdelset(&sigs, SIGPIPE);
+ sigdelset(&sigs, SIGTERM);
+ sigdelset(&sigs, SIGINT);
+ sigdelset(&sigs, SIGHUP);
p[0].fd = csk;
p[0].events = POLLIN | POLLERR | POLLHUP;