summaryrefslogtreecommitdiff
path: root/sysutils/sysctlbyname-improved-kmod/pkg-descr
blob: 211ebdcefd483a7b819b9f58e2eeea67214f0ab2 (plain) (blame)
1
2
3
4
5
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.