mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
47671d1bab
commit
9e8bff64cb
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue