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

Details

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