projects
/
oweals
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b06cd8c
)
uloop: fix signal unblocking
author
Felix Fietkau
<nbd@nbd.name>
Tue, 17 May 2016 11:35:00 +0000
(13:35 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Tue, 17 May 2016 11:35:00 +0000
(13:35 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
uloop-epoll.c
patch
|
blob
|
history
diff --git
a/uloop-epoll.c
b/uloop-epoll.c
index 9581e124040c91514f5cee0ec1a5d7800cfd1edd..46fa101fd786b5a700267bc1c7de7da09b07f42c 100644
(file)
--- a/
uloop-epoll.c
+++ b/
uloop-epoll.c
@@
-58,7
+58,7
@@
uloop_setup_signalfd(bool add)
if (!add) {
uloop_fd_delete(&sfd);
- sigprocmask(SIG_
BLOC
K, &prev_mask, NULL);
+ sigprocmask(SIG_
SETMAS
K, &prev_mask, NULL);
} else {
sigaddset(&mask, SIGQUIT);
sigaddset(&mask, SIGINT);