summaryrefslogtreecommitdiff
path: root/sys/kern/sysv_msg.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-03 06:46:48 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-03 06:46:48 +0000
commit51d300672358aa44ce92a29fd1d1377399f04979 (patch)
treee8358567e288753a566c4fa3e405d27015fd9e01 /sys/kern/sysv_msg.c
parent77392538f354d25a630e54329f54ec05be2159a1 (diff)
Use KERN_NPROCS to get the number of processes on the system, to
determine the amount of space we'll need to store the information. The alternative, calling sysctl() with a NULL argument for data, meant the kernel had to go through the process table.
Diffstat (limited to 'sys/kern/sysv_msg.c')
0 files changed, 0 insertions, 0 deletions