Remove an unneeded PROC_LOCK, which caused lock recursion panics.

Print a warning about old applications with no signal trampoline.

Reported by:	marius@alchemy.franken.de
This commit is contained in:
Jake Burkholder 2002-09-02 23:46:13 +00:00
parent c9400e18a9
commit 65be42f64d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102873

View File

@ -377,7 +377,7 @@ sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code)
* No signal tramoline... kill the process.
*/
CTR0(KTR_SIG, "sendsig: no sigtramp");
PROC_LOCK(p);
printf("sendsig: %s is too old, rebuild it\n", p->p_comm);
sigexit(td, sig);
/* NOTREACHED */
}