Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2019 01:35:30 +0100
From:      Alfonso Siciliano <alfix86@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   kern_sysctl.c  interface
Message-ID:  <20190313013530.d96fc84c362bb489178357eb@gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190313013530.d96fc84c362bb489178357eb>