opnsense-ports/sysutils/sysctlbyname-improved-kmod/pkg-descr
Franco Fichtner ac8eb96108 */*: sync with upstream
Taken from: HardenedBSD
2021-03-03 15:21:15 +01:00

7 lines
388 B
Text

Kernel module to add the sysctl.objidextended_byname sysctl object
to implement an improved sysctlbyname(3) clone to handle:
* a name without a level, e.g., "security.jail.param.allow.mount."
* a CTLTYPE_NODE with a defined handler, e.g., "kern.proc.pid.<pid>"
The sysctlbyname_improved() function and an example are provided, too.
WWW: https://gitlab.com/alfix/sysctlbyname-improved/