mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
975ca88a30
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>
18 lines
322 B
Plaintext
18 lines
322 B
Plaintext
[
|
|
{ type: install
|
|
message: <<EOM
|
|
To use the sysctl.entryidinputbyname sysctl node and the sysctlbyname_improved
|
|
function, make sure that you have loaded the sysctlbyname_improved kernel
|
|
module, by doing
|
|
|
|
# kldload sysctlbyname_improved
|
|
|
|
or adding
|
|
|
|
sysctlbyname_improved_load="YES"
|
|
|
|
to your /boot/loader.conf.
|
|
EOM
|
|
}
|
|
]
|