Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 1998 11:28:08 -0500 (CDT)
From:      jlemon@americantv.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   docs/7978: [PATCH] sysctl man page claims kern.maxproc is changeable
Message-ID:  <199809181628.LAA02805@prism.pcs>

next in thread | raw e-mail | index | archive | help

>Number:         7978
>Category:       docs
>Synopsis:       [PATCH] sysctl man page claims kern.maxproc is changeable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 18 11:20:07 PDT 1998
>Last-Modified:
>Originator:     Jonathan Lemon
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:
    FreeBSD 3.0-CURRENT as of Thu Sep 17 16:23:38 CDT 

>Description:
    sysctl.8 man page claims that kern.maxproc is changeable.  It is not.

>How-To-Repeat:
	# id
	uid=0(root) gid=1000(jlemon) groups=1000(jlemon), 0(wheel)
	# sysctl -w kern.maxproc=1000
	sysctl: oid 'kern.maxproc' is read only

>Fix:

--- usr.sbin/sysctl/sysctl.8.orig	Fri Sep 18 11:25:56 1998
+++ usr.sbin/sysctl/sysctl.8	Fri Sep 18 11:19:51 1998
@@ -122,7 +122,7 @@
 .It kern.osrevision	integer	no
 .It kern.version	string	no
 .It kern.maxvnodes	integer	yes
-.It kern.maxproc	integer	yes
+.It kern.maxproc	integer	no
 .It kern.maxprocperuid	integer	yes
 .It kern.maxfiles	integer	yes
 .It kern.maxfilesperproc	integer	yes
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809181628.LAA02805>