Unlock most of `kern_vars' variables.
authormvs <mvs@openbsd.org>
Mon, 5 Aug 2024 15:43:58 +0000 (15:43 +0000)
committermvs <mvs@openbsd.org>
Mon, 5 Aug 2024 15:43:58 +0000 (15:43 +0000)
commitad534f1885b0eb48a8f96e714aa65dda6684da66
tree390db83d480cfe4a87bc8d8b381628b14766cfb4
parentd5cabab193409a99c80e1a889ffc74b84958e8c3
Unlock most of `kern_vars' variables.

Add corresponding cases to the kern_sysctl() switch and unlock read-only
variables from `kern_vars'. Unlock KERN_SOMAXCONN and KERN_SOMINCONN
which are atomically read-only accessed only from solisten().

ok kettenis
sys/kern/kern_sysctl.c