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 May 13 2019, 5:49 PM
Parents
rGd5368bf3dff2: Our bsd_to_linux_sockaddr() and linux_to_bsd_sockaddr() functions
Branches
Unknown
Tags
Unknown

Event Timeline