HomeFreeBSD

Add sysctlbyname system call

Description

Add sysctlbyname system call

Previously userspace would issue one syscall to resolve the sysctl and then
another one to actually use it. Do it all in one trip.

Fallback is provided in case newer libc happens to be running on an older
kernel.

Submitted by: Pawel Biernacki
Reported by: kib, brooks
Differential Revision: https://reviews.freebsd.org/D17282

Details

Provenance
mjgAuthored on Sep 3 2019, 4:16 AM
Parents
rG209f2e983876: Add a sysctl to dump kernel mappings and their properties on amd64.
Branches
Unknown
Tags
Unknown