From 0117556a23d954b9423ec95b2c98568ed5ec2304 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 1 Jan 2004 20:17:35 +0000 Subject: Crank SHMMNI from 32 -> 128 and SHMSEG from 8 -> 128. OK deraadt@ --- sys/conf/param.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/conf/param.c b/sys/conf/param.c index 17ae69377d8..1630cc0853f 100644 --- a/sys/conf/param.c +++ b/sys/conf/param.c @@ -1,4 +1,4 @@ -/* $OpenBSD: param.c,v 1.22 2003/07/24 04:02:20 deraadt Exp $ */ +/* $OpenBSD: param.c,v 1.23 2004/01/01 20:17:34 millert Exp $ */ /* $NetBSD: param.c,v 1.16 1996/03/12 03:08:40 mrg Exp $ */ /* @@ -111,8 +111,8 @@ int shmmaxpgs = SHMMAXPGS; #ifdef SYSVSHM #define SHMMAX SHMMAXPGS /* shminit() performs a `*= PAGE_SIZE' */ #define SHMMIN 1 -#define SHMMNI 32 /* <= SHMMMNI in shm.h */ -#define SHMSEG 8 +#define SHMMNI 128 /* <64k, see IPCID_TO_IX in ipc.h */ +#define SHMSEG 128 #define SHMALL (SHMMAXPGS) struct shminfo shminfo = { -- cgit v1.2.3