summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_thr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_thr.c')
-rw-r--r--sys/kern/kern_thr.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c
index dcc0847..92890d0 100644
--- a/sys/kern/kern_thr.c
+++ b/sys/kern/kern_thr.c
@@ -258,11 +258,7 @@ thr_kill(struct thread *td, struct thr_kill_args *uap)
goto out;
}
- /*
- * We need a way to force this to go into this thread's siglist.
- * Until then blocked signals will go to the proc.
- */
- tdsignal(ttd, uap->sig);
+ tdsignal(ttd, uap->sig, SIGTARGET_TD);
out:
PROC_UNLOCK(p);
OpenPOWER on IntegriCloud