From 999b8da572a3feeafefae44c00904a8b520dac0b Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Mon, 25 Apr 2016 20:00:34 +0000 Subject: boom goes the dynamite --- sys/kern/kern_fork.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'sys/kern/kern_fork.c') diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index b4875c82b7f..16768d4e06b 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_fork.c,v 1.185 2016/03/11 19:10:14 tedu Exp $ */ +/* $OpenBSD: kern_fork.c,v 1.186 2016/04/25 20:00:33 tedu Exp $ */ /* $NetBSD: kern_fork.c,v 1.29 1996/02/09 18:59:34 christos Exp $ */ /* @@ -63,9 +63,6 @@ #include -#include "systrace.h" -#include - #include #ifdef __HAVE_MD_TCB @@ -432,10 +429,6 @@ fork1(struct proc *curp, int flags, void *stack, pid_t *tidptr, if (pr->ps_flags & PS_TRACED && flags & FORK_FORK) newptstat = malloc(sizeof(*newptstat), M_SUBPROC, M_WAITOK); -#if NSYSTRACE > 0 - if (ISSET(curp->p_flag, P_SYSTRACE)) - newstrp = systrace_getproc(); -#endif p->p_pid = allocpid(); @@ -474,11 +467,6 @@ fork1(struct proc *curp, int flags, void *stack, pid_t *tidptr, } } -#if NSYSTRACE > 0 - if (newstrp) - systrace_fork(curp, p, newstrp); -#endif - if (tidptr != NULL) { pid_t pid = p->p_pid + THREAD_PID_OFFSET; -- cgit v1.2.3