Author: kib
Date: Wed Jan 21 16:13:37 2015
New Revision: 277488
URL: https://svnweb.freebsd.org/changeset/base/277488

Log:
  Fix bug in r276630.  Do not allow pthread_sigmask() to block SIGCANCEL.
  
  Reported and tested by:       royger
  Sponsored by: The FreeBSD Foundation
  MFC after:    3 days

Modified:
  head/lib/libthr/thread/thr_sig.c

Modified: head/lib/libthr/thread/thr_sig.c
==============================================================================
--- head/lib/libthr/thread/thr_sig.c    Wed Jan 21 16:10:37 2015        
(r277487)
+++ head/lib/libthr/thread/thr_sig.c    Wed Jan 21 16:13:37 2015        
(r277488)
@@ -604,7 +604,8 @@ __weak_reference(_pthread_sigmask, pthre
 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);
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to