From 4dec0e67ea45ba4d387e7ac4e5f3a4ff44e51316 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Wed, 23 May 2007 17:27:42 +0000 Subject: [PATCH] Comment that tdsignal() may be entered from the debugger. --- sys/kern/kern_sig.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index c3b92296bc2..97c32655b6b 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -1977,6 +1977,10 @@ sigtd(struct proc *p, int sig, int prop) * regardless of the signal action (eg, blocked or ignored). * * Other ignored signals are discarded immediately. + * + * NB: This function may be entered from the debugger via the "kill" DDB + * command. There is little that can be done to mitigate the possibly messy + * side effects of this unwise possibility. */ void psignal(struct proc *p, int sig) -- 2.45.2