summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sig.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-06-15 20:08:03 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-06-15 20:08:03 +0000
commitfd293392db098cbdef234cf36ac226873023a403 (patch)
treee59a7ada274fe776e3b935c84ce23c6565a601f2 /sys/kern/kern_sig.c
parent52df452bea48eb1ed9f2774fedfbd636db4f3ad3 (diff)
Nothing sets P_FSTRACE anymore, so remove all what's left of it.
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r--sys/kern/kern_sig.c20
1 files changed, 4 insertions, 16 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index 68cb16ca000..f95d021c7ae 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sig.c,v 1.83 2006/06/07 18:58:39 miod Exp $ */
+/* $OpenBSD: kern_sig.c,v 1.84 2006/06/15 20:08:01 miod Exp $ */
/* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */
/*
@@ -1040,21 +1040,9 @@ issignal(struct proc *p)
p->p_xstat = signum;
SCHED_LOCK(s); /* protect mi_switch */
- if (p->p_flag & P_FSTRACE) {
-#ifdef PROCFS
- /* procfs debugging */
- p->p_stat = SSTOP;
- wakeup(p);
- mi_switch();
-#else
- panic("procfs debugging");
-#endif
- } else {
- /* ptrace debugging */
- psignal(p->p_pptr, SIGCHLD);
- proc_stop(p);
- mi_switch();
- }
+ psignal(p->p_pptr, SIGCHLD);
+ proc_stop(p);
+ mi_switch();
SCHED_UNLOCK(s);
/*