Subject: kern/34915: Small typo in sysctl security.pax.mprotect.global node description
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <njolysteur.fr@pasteur.fr>
List: netbsd-bugs
Date: 10/25/2006 20:45:01
>Number: 34915
>Category: kern
>Synopsis: Small typo in sysctl security.pax.mprotect.global node description
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 25 20:45:01 +0000 2006
>Originator: Nicolas Joly
>Release: NetBSD 4.99.3
>Organization:
Institut Pasteur, Paris.
>Environment:
System: NetBSD cixy.dial.pasteur.fr 4.99.3 NetBSD 4.99.3 (CIXY) #29: Mon Oct 23 22:55:51 CEST 2006 njoly@cixy.dial.pasteur.fr:/local/src/NetBSD/obj/i386/sys/arch/i386/compile/CIXY i386
Architecture: i386
Machine: i386
>Description:
I just noticed a small typo, a missing space between 2 words ("toall" vs.
"to all"), in sysctl security.pax.mprotect.global node description.
njoly@cixy [~]> sysctl -d security.pax.mprotect.global
security.pax.mprotect.global: When enabled, unless explicitly specified, apply restrictions toall processes.
>How-To-Repeat:
sysctl -d security.pax.mprotect.global
>Fix:
Index: sys/kern/kern_pax.c
===================================================================
RCS file: /cvsroot/src/sys/kern/kern_pax.c,v
retrieving revision 1.4
diff -u -r1.4 kern_pax.c
--- sys/kern/kern_pax.c 26 Sep 2006 14:48:40 -0000 1.4
+++ sys/kern/kern_pax.c 22 Oct 2006 07:59:11 -0000
@@ -75,7 +75,7 @@
CTLFLAG_PERMANENT|CTLFLAG_READWRITE,
CTLTYPE_INT, "global",
SYSCTL_DESCR("When enabled, unless explicitly "
- "specified, apply restrictions to"
+ "specified, apply restrictions to "
"all processes."),
NULL, 0, &pax_mprotect_global, 0,
CTL_CREATE, CTL_EOL);