summaryrefslogtreecommitdiffstats
path: root/hidd/fakehid.c
diff options
context:
space:
mode:
Diffstat (limited to 'hidd/fakehid.c')
-rw-r--r--hidd/fakehid.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hidd/fakehid.c b/hidd/fakehid.c
index 70eba3b4..be1f29b9 100644
--- a/hidd/fakehid.c
+++ b/hidd/fakehid.c
@@ -320,6 +320,11 @@ int epox_presenter(const bdaddr_t *src, const bdaddr_t *dst, uint8_t channel)
sigaction(SIGHUP, &sa, NULL);
sigfillset(&sigs);
+ sigdelset(&sigs, SIGCHLD);
+ sigdelset(&sigs, SIGPIPE);
+ sigdelset(&sigs, SIGTERM);
+ sigdelset(&sigs, SIGINT);
+ sigdelset(&sigs, SIGHUP);
p.fd = sk;
p.events = POLLIN | POLLERR | POLLHUP;