summaryrefslogtreecommitdiff
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-02-08 20:58:31 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-02-08 20:58:31 +0000
commit4042b0e27a9bacafd8c6dd1533c2974fb8830139 (patch)
tree803e5655ebff4f968cacfe1a277bd45044c30044 /sys/kern/kern_fork.c
parentb91e7a3de5a9757a6530f68300804981656ffcaa (diff)
Delete the obsolete fork/exec/exit emulation hooks.
ok mpi@ dlg@
Diffstat (limited to 'sys/kern/kern_fork.c')
-rw-r--r--sys/kern/kern_fork.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index 3ff2085f732..867a12bdd92 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_fork.c,v 1.193 2017/01/24 00:58:55 mpi Exp $ */
+/* $OpenBSD: kern_fork.c,v 1.194 2017/02/08 20:58:30 guenther Exp $ */
/* $NetBSD: kern_fork.c,v 1.29 1996/02/09 18:59:34 christos Exp $ */
/*
@@ -395,12 +395,6 @@ fork1(struct proc *curp, int flags, void *stack, pid_t *tidptr,
if (flags & FORK_THREAD)
sigstkinit(&p->p_sigstk);
- /*
- * If emulation has thread fork hook, call it now.
- */
- if (pr->ps_emul->e_proc_fork)
- (*pr->ps_emul->e_proc_fork)(p, curp);
-
p->p_addr = (struct user *)uaddr;
/*