Kernel module to add the sysctl.entryidinputbyname sysctl node to allow to implement an improved sysctlbyname(3) clone to handle: * a node without a level name, e.g., "security.jail.param.allow.mount." * a CTLTYPE_NODE with a no-NULL handler, e.g., "kern.proc.pid.<pid>" The sysctlbyname_improved() function and an example are provided, too. WWW: https://gitlab.com/alfix/sysctlbyname-improved/ PR: 242068 Submitted by: Alfonso S. Siciliano <alfix86@gmail.com>
7 lines
397 B
Text
7 lines
397 B
Text
Kernel module to add the sysctl.entryidinputbyname sysctl node
|
|
to allow to implement an improved sysctlbyname(3) clone to handle:
|
|
* a node without a level name, e.g., "security.jail.param.allow.mount."
|
|
* a CTLTYPE_NODE with a no-NULL handler, e.g., "kern.proc.pid.<pid>"
|
|
The sysctlbyname_improved() function and an example are provided, too.
|
|
|
|
WWW: https://gitlab.com/alfix/sysctlbyname-improved
|