Files
ports/sysutils/sysctlbyname-improved-kmod/pkg-descr
T
2026-10-04 04:07:15 +00:00

6 lines
334 B
Plaintext

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.