summaryrefslogtreecommitdiff
path: root/sys/kern/kern_proc.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-01-25 15:00:27 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-01-25 15:00:27 +0000
commit9dc59f18e0ffc7748a191db23fa165d6c328c97e (patch)
treeceb3d1526cc55464edbecf0665a88c8a7e1ce98c /sys/kern/kern_proc.c
parentfa20485a7e7824f15a024d383b6757f23a00e968 (diff)
poolify pcreds.
Diffstat (limited to 'sys/kern/kern_proc.c')
-rw-r--r--sys/kern/kern_proc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c
index 1879f9bf293..d3d8cfeb7a9 100644
--- a/sys/kern/kern_proc.c
+++ b/sys/kern/kern_proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_proc.c,v 1.11 2002/01/23 15:46:48 art Exp $ */
+/* $OpenBSD: kern_proc.c,v 1.12 2002/01/25 15:00:26 art Exp $ */
/* $NetBSD: kern_proc.c,v 1.14 1996/02/09 18:59:41 christos Exp $ */
/*
@@ -80,6 +80,7 @@ struct pool rusage_pool;
struct pool ucred_pool;
struct pool pgrp_pool;
struct pool session_pool;
+struct pool pcred_pool;
/*
* Locking of this proclist is special; it's accessed in a
@@ -123,6 +124,8 @@ procinit()
&pool_allocator_nointr);
pool_init(&session_pool, sizeof(struct session), 0, 0, 0, "sessionpl",
&pool_allocator_nointr);
+ pool_init(&pcred_pool, sizeof(struct pcred), 0, 0, 0, "pcredpl",
+ &pool_allocator_nointr);
}
/*