Module Name:    src
Committed By:   elad
Date:           Wed Sep 30 04:30:50 UTC 2009

Modified Files:
        src/sbin/sysctl: sysctl.8 sysctl.c

Log Message:
Remove stale references to the "read only at securelevel [12]" flags in
the documentation and code comments.


To generate a diff of this commit:
cvs rdiff -u -r1.160 -r1.161 src/sbin/sysctl/sysctl.8
cvs rdiff -u -r1.129 -r1.130 src/sbin/sysctl/sysctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/sysctl/sysctl.8
diff -u src/sbin/sysctl/sysctl.8:1.160 src/sbin/sysctl/sysctl.8:1.161
--- src/sbin/sysctl/sysctl.8:1.160	Wed Apr  1 15:55:27 2009
+++ src/sbin/sysctl/sysctl.8	Wed Sep 30 04:30:50 2009
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.8,v 1.160 2009/04/01 15:55:27 christos Exp $
+.\"	$NetBSD: sysctl.8,v 1.161 2009/09/30 04:30:50 elad Exp $
 .\"
 .\" Copyright (c) 2004 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -54,7 +54,7 @@
 .\"
 .\"	@(#)sysctl.8	8.1 (Berkeley) 6/6/93
 .\"
-.Dd April 1, 2009
+.Dd September 30, 2009
 .Dt SYSCTL 8
 .Os
 .Sh NAME
@@ -376,16 +376,6 @@
 .Dq Writable .
 The data instrumented by the given node is writable at any time.
 This is the default for nodes that can have children.
-.It 1
-.Dq Read-only at securelevel 1 .
-The data instrumented by this node is writable until the securelevel
-reaches or passes securelevel 1.
-Examples of this include some network tunables.
-.It 2
-.Dq Read-only at securelevel 2 .
-The data instrumented by this node is writable until the securelevel
-reaches or passes securelevel 2.
-An example of this is the per-process core filename setting.
 .El
 .Pp
 .It
@@ -527,8 +517,7 @@
 .Sh SEE ALSO
 .Xr sysctl 3 ,
 .Xr ksyms 4 ,
-.Xr sysctl 7 ,
-.Xr secmodel_securelevel 9
+.Xr sysctl 7
 .Sh HISTORY
 .Nm sysctl
 first appeared in

Index: src/sbin/sysctl/sysctl.c
diff -u src/sbin/sysctl/sysctl.c:1.129 src/sbin/sysctl/sysctl.c:1.130
--- src/sbin/sysctl/sysctl.c:1.129	Wed Apr  1 15:55:27 2009
+++ src/sbin/sysctl/sysctl.c	Wed Sep 30 04:30:50 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: sysctl.c,v 1.129 2009/04/01 15:55:27 christos Exp $ */
+/*	$NetBSD: sysctl.c,v 1.130 2009/09/30 04:30:50 elad Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
 #if 0
 static char sccsid[] = "@(#)sysctl.c	8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: sysctl.c,v 1.129 2009/04/01 15:55:27 christos Exp $");
+__RCSID("$NetBSD: sysctl.c,v 1.130 2009/09/30 04:30:50 elad Exp $");
 #endif
 #endif /* not lint */
 
@@ -912,10 +912,9 @@
   [addr=0x####,|symbol=...|value=...]
 
   size is optional for some types.  type must be set before anything
-  else.  nodes can have [r12whp], but nothing else applies.  if no
+  else.  nodes can have [rwhp], but nothing else applies.  if no
   size or type is given, node is asserted.  writeable is the default,
-  with [r12w] being read-only, writeable below securelevel 1,
-  writeable below securelevel 2, and unconditionally writeable
+  with [rw] being read-only and unconditionally writeable
   respectively.  if you specify addr, it is assumed to be the name of
   a kernel symbol, if value, CTLFLAG_OWNDATA will be asserted for
   strings, CTLFLAG_IMMEDIATE for ints and u_quad_ts.  you cannot

Reply via email to