summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
authorart <art@openbsd.org>2007-07-25 23:11:52 +0000
committerart <art@openbsd.org>2007-07-25 23:11:52 +0000
commitb97016418b512f122280c452c12efbafac668c24 (patch)
tree6a5460ef432d85f1449335d45db6e3d56f37657c /sys/kern/kern_fork.c
parentAdd a missing splx() and while there update the printf() to match the format (diff)
downloadwireguard-openbsd-b97016418b512f122280c452c12efbafac668c24.tar.xz
wireguard-openbsd-b97016418b512f122280c452c12efbafac668c24.zip
Back out the tracking of procs in struct selinfo. There's one serious
bug in the code, but as soon as I try to fix it, it seems to trigger some other bugs. Instead of trying to figure out what's going on while everyone suffers, it's better to back out and figure out the bugs outside the tree.
Diffstat (limited to 'sys/kern/kern_fork.c')
-rw-r--r--sys/kern/kern_fork.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index d4eb5fcc449..d54932106d7 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_fork.c,v 1.91 2007/05/16 17:27:30 art Exp $ */
+/* $OpenBSD: kern_fork.c,v 1.92 2007/07/25 23:11:52 art Exp $ */
/* $NetBSD: kern_fork.c,v 1.29 1996/02/09 18:59:34 christos Exp $ */
/*
@@ -280,8 +280,6 @@ fork1(struct proc *p1, int exitsig, int flags, void *stack, size_t stacksize,
crhold(p1->p_ucred);
}
- TAILQ_INIT(&p2->p_selects);
-
/* bump references to the text vnode (for procfs) */
p2->p_textvp = p1->p_textvp;
if (p2->p_textvp)