HomeFreeBSD

sysctl(3): Implement SYSCTL_FOREACH() to iterate all OIDs in a sysctl list.

Description

sysctl(3): Implement SYSCTL_FOREACH() to iterate all OIDs in a sysctl list.

To avoid using the sysctl list macros directly in external kernel modules.

Reviewed by: asomers, manu and asiciliano
Differential Revision: https://reviews.freebsd.org/D36748
MFC after: 1 week
Sponsored by: NVIDIA Networking

Details

Provenance
hselaskyAuthored on Sep 27 2022, 1:48 PM
Reviewer
asomers
Differential Revision
D36748: sysctl(3): Implement SYSCTL_FOREACH() to iterate all OIDs in a sysctl list.
Parents
rGf2963b530e17: kasan: disable kasan_mark() after a violation
Branches
Unknown
Tags
Unknown