mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Add a lock assertion to linux_sendsig() to match other sendsig functions.
This commit is contained in:
parent
23b4e251d0
commit
2509e6c20b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83587
@ -377,6 +377,7 @@ linux_sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code)
|
||||
l_sigset_t lmask;
|
||||
int oonstack, i;
|
||||
|
||||
PROC_LOCK_ASSERT(p, MA_OWNED);
|
||||
if (SIGISMEMBER(p->p_sigacts->ps_siginfo, sig)) {
|
||||
/* Signal handler installed with SA_SIGINFO. */
|
||||
linux_rt_sendsig(catcher, sig, mask, code);
|
||||
|
Loading…
Reference in New Issue
Block a user