Module Name: src
Committed By: jruoho
Date: Tue Apr 20 07:58:16 UTC 2010
Modified Files:
src/share/man/man7: sysctl.7
Log Message:
Document kern.arandom, and remove kern.autonicetime and kern.autoniceval.
XXX: Although no sysctl variables exist for the last two, these are still
defined in <sys/sysctl.h> and <sys/systm.h>.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/share/man/man7/sysctl.7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.43 src/share/man/man7/sysctl.7:1.44
--- src/share/man/man7/sysctl.7:1.43 Tue Apr 20 07:33:45 2010
+++ src/share/man/man7/sysctl.7 Tue Apr 20 07:58:16 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: sysctl.7,v 1.43 2010/04/20 07:33:45 jruoho Exp $
+.\" $NetBSD: sysctl.7,v 1.44 2010/04/20 07:58:16 jruoho Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -239,10 +239,8 @@
.Bl -column "kern.posix_reader_writer_locks" \
"struct kinfo_drivers" "not applicable"
.It Sy Second level name Type Changeable
-.\".It kern.arandom integer no
+.It kern.arandom integer no
.It kern.argmax integer no
-.It kern.autonicetime integer yes
-.It kern.autoniceval integer yes
.It kern.boothowto integer no
.It kern.boottime struct timeval no
.\".It kern.bufq node not applicable
@@ -330,20 +328,15 @@
.It kern.vnode struct vnode no
.El
.Bl -tag -width "123456"
-.\".It Li kern.arandom
-.\" XXX: Undocumented.
+.It Li kern.arandom
+This variable picks a random number each time it is queried.
+The used random number generator
+.Pq Tn RNG
+is based on
+.Xr arc4random 3 .
.It Li kern.argmax ( KERN_ARGMAX )
The maximum bytes of argument to
.Xr execve 2 .
-.\" XXX: Is kern.autonicetime still available?
-.It Li kern.autonicetime ( KERN_AUTONICETIME )
-The number of seconds of CPU-time a non-root process may accumulate before
-having its priority lowered from the default to the value of KERN_AUTONICEVAL.
-If set to 0, automatic lowering of priority is not performed, and if set to \-1
-all non-root processes are immediately lowered.
-.\" XXX: Is kern.autoniceval still available?
-.It Li kern.autoniceval ( KERN_AUTONICEVAL )
-The priority assigned for automatically niced processes.
.It Li kern.boothowto
Flags passed from the boot loader; see
.Xr reboot 2