Subject: lib/23645: Wrong names in sysctl(3) manpage
To: None <gnats-bugs@gnats.netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-bugs
Date: 12/04/2003 03:27:01
>Number: 23645
>Category: lib
>Synopsis: Wrong names in sysctl(3) manpage
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 04 03:28:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Christian Biere
>Release: NetBSD 1.6ZF
>Organization:
>Environment:
System: NetBSD cyclonus 1.6ZF NetBSD 1.6ZF (STARSCREAM) #0: Sun Nov 30 01:56:21 CET 2003 bin@cyclonus:/usr/build/obj/sys/arch/i386/compile/STARSCREAM i386
Architecture: i386
Machine: i386
>Description:
There are no third level names PROC_STOPEXEC and PROC_STOPFORK. ``PID_''
is missing here. I haven't checked whether these names changed from
-release to -current, though.
>How-To-Repeat:
>Fix:
Index: sysctl.3
===================================================================
RCS file: /cvsroot/src/lib/libc/gen/sysctl.3,v
retrieving revision 1.125
diff -u -r1.125 sysctl.3
--- sysctl.3 2003/11/23 07:22:19 1.125
+++ sysctl.3 2003/12/04 03:19:38
@@ -1385,8 +1385,8 @@
.Bl -column "USER_COLL_WEIGHTS_MAXXXX" "integerXXX" "yes" -offset indent
.It Sy Third level name Type Changeable
.It PROC\_PID\_CORENAME string yes
-.It PROC\_STOPEXEC int yes
-.It PROC\_STOPFORK int yes
+.It PROC\_PID\_STOPEXEC int yes
+.It PROC\_PID\_STOPFORK int yes
.It PROC\_PID\_LIMIT node not applicable
.El
.Bl -tag -width "123456"
@@ -1444,7 +1444,7 @@
The fifth level name is one of PROC_PID_LIMIT_TYPE_SOFT or
PROC_PID_LIMIT_TYPE_HARD, to select respectively the soft or hard limit.
Both are of type integer.
-.It Li PROC_STOPEXEC
+.It Li PROC_PID_STOPEXEC
If non zero, the process will be stopped on next
.Xr exec 3
call.
@@ -1457,7 +1457,7 @@
before it had the opportunity to actually do anything.
.Pp
This value is inherited by the process's children.
-.It Li PROC_STOPFORK
+.It Li PROC_PID_STOPFORK
If non zero, the process' children will be stopped after
.Xr fork 2
calls.
>Release-Note:
>Audit-Trail:
>Unformatted: