HomeFreeBSD

fd: Add sysctl flag CTLFLAG_TUN to loader tunables

Description

fd: Add sysctl flag CTLFLAG_TUN to loader tunables

The following sysctl variables are actually loader tunables. Add sysctl
flag CTLFLAG_TUN to them so that sysctl -T will report them correctly.

  1. kern.maxfiles
  2. kern.maxfilesperproc

No functional change intended.

Reviewed by: kib, imp
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D42113

(cherry picked from commit 2af5ce5b5efb0cf6514acdc4a8b4058221641c39)
(cherry picked from commit d9aa723347825418c742164c3e9a77d1e4b6943d)
(cherry picked from commit 4f8eaa24a2ac40363ad13101a60ba3516a7ef401)

Details

Provenance
zleiAuthored on Oct 9 2023, 10:30 AM
Reviewer
kib
Differential Revision
D42113: Add sysctl flag CTLFLAG_TUN to loader tunables
Parents
rG9d6eb30abb29: x86: Add sysctl flag CTLFLAG_TUN to loader tunables
Branches
Unknown
Tags
Unknown