include proc0 in allproc
This commit is contained in:
parent
ab0d880435
commit
e479d47c73
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rump.c,v 1.102 2009/04/24 13:27:03 pooka Exp $ */
|
||||
/* $NetBSD: rump.c,v 1.103 2009/04/29 15:49:28 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
|
||||
|
@ -28,7 +28,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.102 2009/04/24 13:27:03 pooka Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.103 2009/04/29 15:49:28 pooka Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/atomic.h>
|
||||
|
@ -197,6 +197,7 @@ rump__init(int rump_version)
|
|||
l->l_proc = p;
|
||||
l->l_lid = 1;
|
||||
LIST_INIT(&allproc);
|
||||
LIST_INSERT_HEAD(&allproc, &proc0, p_list);
|
||||
proc_lock = mutex_obj_alloc(MUTEX_DEFAULT, IPL_NONE);
|
||||
|
||||
rump_limits.pl_rlimit[RLIMIT_FSIZE].rlim_cur = RLIM_INFINITY;
|
||||
|
|
Loading…
Reference in New Issue