summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_main.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/init_main.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/init_main.c')
-rw-r--r--sys/kern/init_main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index e6f95b17957..44d61a422d2 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.142 2007/06/01 19:25:09 deraadt Exp $ */
+/* $OpenBSD: init_main.c,v 1.143 2007/07/25 23:11:52 art Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -293,8 +293,6 @@ main(void *framep)
/* Create the file descriptor table. */
p->p_fd = fdinit(NULL);
- TAILQ_INIT(&p->p_selects);
-
/* Create the limits structures. */
p->p_p->ps_limit = &limit0;
for (i = 0; i < sizeof(p->p_rlimit)/sizeof(p->p_rlimit[0]); i++)