projects
/
sudo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f449b66
)
Fix SIG_UNBLOCK emulation
author
Todd C. Miller
<Todd.Miller@courtesan.com>
Tue, 14 Sep 2010 13:21:59 +0000
(09:21 -0400)
committer
Todd C. Miller
<Todd.Miller@courtesan.com>
Tue, 14 Sep 2010 13:21:59 +0000
(09:21 -0400)
--HG--
branch : 1.7
sigaction.c
patch
|
blob
|
history
diff --git
a/sigaction.c
b/sigaction.c
index aee0abfd052d1968738f420ca40a855de08dd143..670e87eccc3cee72d2ceca365e9da653cd8a6837 100644
(file)
--- a/
sigaction.c
+++ b/
sigaction.c
@@
-121,7
+121,7
@@
sigprocmask(how, set, oset)
mask = sigblock(*set);
break;
case SIG_UNBLOCK:
- mask = sigsetmask(
~*set
);
+ mask = sigsetmask(
sigblock(0) & ~(*set)
);
break;
case SIG_SETMASK:
mask = sigsetmask(*set);