aboutsummaryrefslogblamecommitdiff
path: root/sysutils/sysctlbyname-improved-kmod/pkg-descr
blob: bc4ce1836f9313c647aea3727b71c0ac365ac330 (plain) (tree)
1
2
3
4
5
6
7



                                                                     

                                                                      
                                                    
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/