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

This commit is contained in:
John Baldwin 2001-09-17 17:22:31 +00:00
parent 23b4e251d0
commit 2509e6c20b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83587

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