Add a lock assertion to linux_sendsig() to match other sendsig functions.

This commit is contained in:
jhb 2001-09-17 17:22:31 +00:00
parent 9bf92ac71b
commit 6ddf73fcd4

View File

@ -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);