kern_sysctl.c interface

Alfonso Siciliano alfix86 at gmail.com
Wed Mar 13 00:35:36 UTC 2019


Hi hackers!

kern_sysctl.c provides an interface to get the members of a 
'struct sysctl_oid' from the kernel to userland (it is needful to write 
a sysctl-like utility).

A comment tells

 * This interface is under work and consideration, and should probably
 * be killed with a big axe by the first person who can find the time.
 * (be aware though, that the proper interface isn't as obvious as it
 * may seem, there are various conflicting requirements.

Where can I find documentation/discussion/tips about it?

I'm coding an interface https://gitlab.com/alfix/kernel-sysctlmibinfo
for my ports.

Regards,
Alfonso Siciliano


More information about the freebsd-hackers mailing list