Forgot to remove Giant around call to kern_sigaction() in

freebsd4_sigaction() in revision 1.232.
This commit is contained in:
John Baldwin 2003-04-30 19:45:13 +00:00
parent 428eb576a5
commit a14e118939

View File

@ -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 */