From robinson@netrinsics.com  Thu Jul 20 21:34:05 2000
Return-Path: <robinson@netrinsics.com>
Received: from public.bta.net.cn (public.bta.net.cn [202.96.0.97])
	by hub.freebsd.org (Postfix) with ESMTP id 0213F37B528
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 20 Jul 2000 21:34:02 -0700 (PDT)
	(envelope-from robinson@netrinsics.com)
Received: from netrinsics.com ([202.108.133.1])
	by public.bta.net.cn (8.9.3/8.9.3) with ESMTP id MAA00789
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Jul 2000 12:30:14 +0800 (GMT)
Received: (from robinson@localhost)
	by netrinsics.com (8.9.3/8.9.3) id MAA77332;
	Fri, 21 Jul 2000 12:35:01 +0800 (+0800)
	(envelope-from robinson)
Message-Id: <200007210435.MAA77332@netrinsics.com>
Date: Fri, 21 Jul 2000 12:35:01 +0800 (+0800)
From: Michael Robinson <robinson@netrinsics.com>
Reply-To: robinson@netrinsics.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: SysV IPC kernel parameters are not documented
X-Send-Pr-Version: 3.2

>Number:         20080
>Category:       docs
>Synopsis:       SysV IPC kernel parameters are not documented
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jhb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 20 21:40:00 PDT 2000
>Closed-Date:    Wed Jul 26 12:41:06 PDT 2000
>Last-Modified:  Wed Jul 26 12:41:22 PDT 2000
>Originator:     Michael Robinson
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:
All FreeBSD kernel configuration files.
>Description:

The SysV IPC kernel configuration parameters are not documented.

>How-To-Repeat:

N/A

>Fix:

--- src/sys/i386/conf/LINT.orig	Fri Jul 21 11:45:22 2000
+++ src/sys/i386/conf/LINT	Fri Jul 21 12:28:54 2000
@@ -2361,6 +2361,54 @@
 options 	DEBUG_VFS_LOCKS # enable vfs lock debugging
 options 	NPX_DEBUG       # enable npx debugging (FPU/math emu)
 
+#####################################################################
+# SYSV IPC KERNEL PARAMETERS
+#
+# Maximum number of entries in a semaphore map.
+options 	SEMMAP=31
+
+# Maximum number of System V semaphores that can be used on the system at
+# one time. 
+options 	SEMMNI=11
+
+# Total number of semaphores system wide
+options 	SEMMNS=61
+
+# Total number of undo structures in system
+options 	SEMMNU=31
+
+# Maximum number of System V semaphores that can be used by a single process
+# at one time. 
+options 	SEMMSL=61
+
+# Maximum number of operations that can be outstanding on a single System V
+# semaphore at one time. 
+options 	SEMOPM=101
+
+# Maximum number of undo operations that can be outstanding on a single
+# System V semaphore at one time. 
+options 	SEMUME=11
+
+# Maximum number of shared memory pages system wide.
+options 	SHMALL=1025
+
+# Maximum size, in bytes, of a single System V shared memory region. 
+options 	SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
+options 	SHMMAXPGS=1025
+
+# Minimum size, in bytes, of a single System V shared memory region. 
+options 	SHMMIN=2
+
+# Maximum number of shared memory regions that can be used on the system
+# at one time. 
+options 	SHMMNI=33
+
+# Maximum number of System V shared memory regions that can be attached to
+# a single process at one time. 
+options 	SHMSEG=9
+
+#####################################################################
+
 # More undocumented options for linting.
 # Note that documenting these are not considered an affront.
 
@@ -2411,19 +2459,6 @@
 options 	SCSI_NCR_MYADDR=7
 options 	SC_DEBUG_LEVEL
 options 	SC_RENDER_DEBUG
-options 	SEMMAP=31
-options 	SEMMNI=11
-options 	SEMMNS=61
-options 	SEMMNU=31
-options 	SEMMSL=61
-options 	SEMOPM=101
-options 	SEMUME=11
-options 	SHMALL=1025
-options 	SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
-options 	SHMMAXPGS=1025
-options 	SHMMIN=2
-options 	SHMMNI=33
-options 	SHMSEG=9
 options 	SHOW_BUSYBUFS	# List buffers that prevent root unmount
 options 	SIMPLELOCK_DEBUG
 options 	SI_DEBUG

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->jhb 
Responsible-Changed-By: jhb 
Responsible-Changed-When: Sun Jul 23 23:20:19 PDT 2000 
Responsible-Changed-Why:  
I'll take this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20080 
State-Changed-From-To: open->closed 
State-Changed-By: jhb 
State-Changed-When: Wed Jul 26 12:41:06 PDT 2000 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20080 
>Unformatted:
