diff options
author | tjr <tjr@FreeBSD.org> | 2003-02-15 09:15:30 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2003-02-15 09:15:30 +0000 |
commit | a000ef163a3a61cd765e6cd7fe895bd5171574d0 (patch) | |
tree | 8b071499dae68768d60478cea533628476050cf4 | |
parent | cf513b76e7270088f72ba4d8dc8e21552ac5827c (diff) | |
download | FreeBSD-src-a000ef163a3a61cd765e6cd7fe895bd5171574d0.zip FreeBSD-src-a000ef163a3a61cd765e6cd7fe895bd5171574d0.tar.gz |
osigpending() no longer needs Giant, for the same reason sigpending()
does not.
-rw-r--r-- | sys/kern/kern_sig.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index d22f582..9950449 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -718,7 +718,6 @@ struct osigpending_args { /* * MPSAFE */ -/* ARGSUSED */ int osigpending(td, uap) struct thread *td; @@ -726,11 +725,9 @@ osigpending(td, uap) { struct proc *p = td->td_proc; - mtx_lock(&Giant); PROC_LOCK(p); SIG2OSIG(p->p_siglist, td->td_retval[0]); PROC_UNLOCK(p); - mtx_unlock(&Giant); return (0); } #endif /* COMPAT_43 */ |