diff options
author | kib <kib@FreeBSD.org> | 2015-01-24 08:35:49 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-01-24 08:35:49 +0000 |
commit | bac6ad8875aa62f8c20f3e4957ce1f8b3c3137ea (patch) | |
tree | 6762d89b06c9d16025114b266952d0e744438eea /lib | |
parent | 0f243342b5b0fc937b501e30de1765b84008eeed (diff) | |
download | FreeBSD-src-bac6ad8875aa62f8c20f3e4957ce1f8b3c3137ea.zip FreeBSD-src-bac6ad8875aa62f8c20f3e4957ce1f8b3c3137ea.tar.gz |
MFC r277488:
Do not allow pthread_sigmask() to block SIGCANCEL.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libthr/thread/thr_sig.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_sig.c b/lib/libthr/thread/thr_sig.c index 7cd0f75..11a131c 100644 --- a/lib/libthr/thread/thr_sig.c +++ b/lib/libthr/thread/thr_sig.c @@ -604,7 +604,8 @@ __weak_reference(_pthread_sigmask, pthread_sigmask); int _pthread_sigmask(int how, const sigset_t *set, sigset_t *oset) { - if (_sigprocmask(how, set, oset)) + + if (__thr_sigprocmask(how, set, oset)) return (errno); return (0); } |