diff options
author | jhb <jhb@FreeBSD.org> | 2001-09-17 17:22:31 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-09-17 17:22:31 +0000 |
commit | 6ddf73fcd424de4659c8494b6f76e5869b2ad95c (patch) | |
tree | 24950502f27afd00633357767b65d764ed7d2d7e | |
parent | 9bf92ac71b7e48da23a44aa7fda96ec361c55638 (diff) | |
download | FreeBSD-src-6ddf73fcd424de4659c8494b6f76e5869b2ad95c.zip FreeBSD-src-6ddf73fcd424de4659c8494b6f76e5869b2ad95c.tar.gz |
Add a lock assertion to linux_sendsig() to match other sendsig functions.
-rw-r--r-- | sys/i386/linux/linux_sysvec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c index 27e3649..7b3684f 100644 --- a/sys/i386/linux/linux_sysvec.c +++ b/sys/i386/linux/linux_sysvec.c @@ -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); |