Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man7 Document kern.arandom, and remove kern.autoni...



details:   https://anonhg.NetBSD.org/src/rev/496221ebbe89
branches:  trunk
changeset: 754101:496221ebbe89
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Tue Apr 20 07:58:16 2010 +0000

description:
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>.

diffstat:

 share/man/man7/sysctl.7 |  23 ++++++++---------------
 1 files changed, 8 insertions(+), 15 deletions(-)

diffs (48 lines):

diff -r 1588134ccc31 -r 496221ebbe89 share/man/man7/sysctl.7
--- a/share/man/man7/sysctl.7   Tue Apr 20 07:33:45 2010 +0000
+++ b/share/man/man7/sysctl.7   Tue Apr 20 07:58:16 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index