summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sig.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-11-10 18:15:50 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-11-10 18:15:50 +0000
commit7c2c0cece14deee41a6cc3def2928808d73881b0 (patch)
tree871f91c39959ffa32ae5ac773513265eb121d8c9 /sys/kern/kern_sig.c
parent38a9424b2fc187e798fe3a91366490408b112921 (diff)
Change the ktrace interface functions from taking the trace vnode to taking the
traced proc. The vnode is in the proc and all functions need the proc.
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r--sys/kern/kern_sig.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index caadb6620fa..bb5c923f364 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sig.c,v 1.38 2000/06/05 11:02:50 art Exp $ */
+/* $OpenBSD: kern_sig.c,v 1.39 2000/11/10 18:15:47 art Exp $ */
/* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */
/*
@@ -641,7 +641,7 @@ trapsignal(p, signum, code, type, sigval)
p->p_stats->p_ru.ru_nsignals++;
#ifdef KTRACE
if (KTRPOINT(p, KTR_PSIG))
- ktrpsig(p->p_tracep, signum, ps->ps_sigact[signum],
+ ktrpsig(p, signum, ps->ps_sigact[signum],
p->p_sigmask, code);
#endif
(*p->p_emul->e_sendsig)(ps->ps_sigact[signum], signum,
@@ -1062,8 +1062,7 @@ postsig(signum)
action = ps->ps_sigact[signum];
#ifdef KTRACE
if (KTRPOINT(p, KTR_PSIG))
- ktrpsig(p->p_tracep,
- signum, action, ps->ps_flags & SAS_OLDMASK ?
+ ktrpsig(p, signum, action, ps->ps_flags & SAS_OLDMASK ?
ps->ps_oldmask : p->p_sigmask, 0);
#endif
if (action == SIG_DFL) {