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>.
This commit is contained in:
jruoho 2010-04-20 07:58:16 +00:00
parent 91d2b147e8
commit b74a54b7d3

View File

@ -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 @@ privilege may change the value.
.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 @@ privilege may change the value.
.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