diff options
author | jhb <jhb@FreeBSD.org> | 2003-04-30 19:45:13 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-04-30 19:45:13 +0000 |
commit | 65f917c9f125f8eceaee44bd17ecfe3c355ecfeb (patch) | |
tree | 0e85911824baff7c028fd9773efb0ae78234c843 /sys/kern/kern_sig.c | |
parent | 0bca1844ff12a6ca2abff5fcec5a2983059e0a74 (diff) | |
download | FreeBSD-src-65f917c9f125f8eceaee44bd17ecfe3c355ecfeb.zip FreeBSD-src-65f917c9f125f8eceaee44bd17ecfe3c355ecfeb.tar.gz |
Forgot to remove Giant around call to kern_sigaction() in
freebsd4_sigaction() in revision 1.232.
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r-- | sys/kern/kern_sig.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index a80638e..7f4d3db 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -468,12 +468,9 @@ freebsd4_sigaction(td, uap) if (error) return (error); } - mtx_lock(&Giant); error = kern_sigaction(td, uap->sig, actp, oactp, KSA_FREEBSD4); - mtx_unlock(&Giant); - if (oactp && !error) { + if (oactp && !error) error = copyout(oactp, uap->oact, sizeof(oact)); - } return (error); } #endif /* COMAPT_FREEBSD4 */ |