From bac6ad8875aa62f8c20f3e4957ce1f8b3c3137ea Mon Sep 17 00:00:00 2001 From: kib Date: Sat, 24 Jan 2015 08:35:49 +0000 Subject: MFC r277488: Do not allow pthread_sigmask() to block SIGCANCEL. --- lib/libthr/thread/thr_sig.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libthr') 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); } -- cgit v1.1