Author: kib
Date: Sat Jan 24 08:35:49 2015
New Revision: 277640
URL: https://svnweb.freebsd.org/changeset/base/277640

Log:
  MFC r277488:
  Do not allow pthread_sigmask() to block SIGCANCEL.

Modified:
  stable/10/lib/libthr/thread/thr_sig.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libthr/thread/thr_sig.c
==============================================================================
--- stable/10/lib/libthr/thread/thr_sig.c       Sat Jan 24 06:11:13 2015        
(r277639)
+++ stable/10/lib/libthr/thread/thr_sig.c       Sat Jan 24 08:35:49 2015        
(r277640)
@@ -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-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to