|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Todd C. Miller (millert_at_cvs.openbsd.org)
Date: Tue Dec 17 2002 - 17:11:33 CST
CVSROOT: /cvs
Module name: src
Changes by: millert
cvs.openbsd.org 2002/12/17 16:11:33
Modified files:
sys/kern : kern_sysctl.c sysv_sem.c sysv_shm.c
sys/sys : malloc.h sysctl.h sem.h shm.h
sys/compat/common: kern_ipc_23.c
sys/arch/alpha/alpha: machdep.c
sys/arch/amiga/amiga: machdep.c
sys/arch/hp300/hp300: machdep.c
sys/arch/hppa/hppa: machdep.c
sys/arch/i386/i386: machdep.c
sys/arch/mac68k/mac68k: machdep.c
sys/arch/macppc/macppc: machdep.c
sys/arch/mvme68k/mvme68k: machdep.c
sys/arch/mvme88k/mvme88k: machdep.c
sys/arch/mvmeppc/mvmeppc: machdep.c
sys/arch/sparc/sparc: machdep.c
sys/arch/sparc64/sparc64: machdep.c
sys/arch/sun3/sun3: machdep.c
sys/arch/vax/vax: machdep.c
lib/libc/gen : sysctl.3
sbin/sysctl : sysctl.c sysctl.8
usr.bin/ipcs : ipcs.c
Log message:
Make SysV-style shared memory and semaphore limits sysctl'able.
Instead of allocating a static amount of memory for the data
structures via valloc() in allocsys(), allocate things dynamically
using pool(9) when possible and malloc(9) when not. The various
members of struct seminfo and struct shminfo are in kern.seminfo
and kern.shminfo respectively (not all members of kern.seminfo are
changable).
The data structures used still leave something to be desired but
things are not made worse in that respect by this commit.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]