HomeFreeBSD

Add cap_sysctl(3) and cap_sysctlnametomib(3).

Description

Add cap_sysctl(3) and cap_sysctlnametomib(3).

These complement cap_sysctlbyname(3) to provide a drop-in
replacement for the corresponding libc functions.

Also revise the libcap_sysctl limit interface to provide access
to sysctls by MIB, and to avoid direct manipulation of nvlists
by the caller.

Reviewed by: oshogbo
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17854

Details

Provenance
markjAuthored on
Reviewer
oshogbo
Differential Revision
D17854: Add cap_sysctl() and cap_sysctlnametomib().
Parents
rS347533: Our bsd_to_linux_sockaddr() and linux_to_bsd_sockaddr() functions
Branches
Unknown
Tags
Unknown