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
This commit is contained in:
parent
bd1a9e7b11
commit
6ef4d0dc99
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user