David van Moolenbroek
e4e21ee1b2
Add MIB service, sysctl(2) support
...
The new MIB service implements the sysctl(2) system call which, as
we adopt more NetBSD code, is an increasingly important part of the
operating system API. The system call is implemented in the new
service rather than as part of an existing service, because it will
eventually call into many other services in order to gather data,
similar to ProcFS. Since the sysctl(2) functionality is used even
by init(8), the MIB service is added to the boot image.
MIB stands for Management Information Base, and the MIB service
should be seen as a knowledge base of management information.
The MIB service implementation of the sysctl(2) interface is fairly
complete; it incorporates support for both static and dynamic nodes
and imitates many NetBSD-specific quirks expected by userland. The
patch also adds trace(1) support for the new system call, and adds
a new test, test87, which tests the fundamental operation of the
MIB service rather thoroughly.
Change-Id: I4766b410b25e94e9cd4affb72244112c2910ff67
2016-01-13 20:32:37 +01:00
..
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2014-07-28 17:05:06 +02:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:14 +01:00
2012-02-14 14:52:02 +01:00
2016-01-13 20:32:14 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2014-07-28 17:05:06 +02:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2014-07-28 17:05:06 +02:00
2016-01-13 20:32:14 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2014-07-28 17:05:06 +02:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2016-01-13 20:32:14 +01:00
2012-02-14 14:52:02 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2014-07-28 17:05:06 +02:00
2014-07-28 17:05:06 +02:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2014-07-28 17:05:06 +02:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:14 +01:00
2014-07-28 17:05:06 +02:00
2014-07-28 17:05:06 +02:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:14 +01:00
2012-02-14 14:52:02 +01:00
2016-01-13 20:32:14 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2014-07-28 17:05:06 +02:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2014-07-28 17:05:06 +02:00
2016-01-13 20:32:22 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:14 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2014-07-28 17:05:06 +02:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2014-07-28 17:05:06 +02:00
2016-01-13 20:32:14 +01:00
2014-07-28 17:05:06 +02:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2014-07-28 17:05:06 +02:00
2014-07-28 17:05:06 +02:00
2014-07-28 17:05:06 +02:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2014-07-28 17:05:06 +02:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2014-07-28 17:05:06 +02:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2014-07-28 17:05:06 +02:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2014-07-28 17:05:06 +02:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:37 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:14 +01:00
2012-02-14 14:52:02 +01:00
2016-01-13 20:32:14 +01:00
2012-02-14 14:52:02 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2014-07-28 17:05:06 +02:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2014-07-28 17:05:06 +02:00
2014-07-28 17:05:06 +02:00
2014-07-28 17:05:06 +02:00
2012-02-14 14:52:02 +01:00
2014-07-28 17:05:06 +02:00
2014-07-28 17:05:06 +02:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2014-07-28 17:05:06 +02:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:37 +01:00
2012-02-14 14:52:02 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:14 +01:00
2014-07-28 17:05:06 +02:00
2013-01-14 11:36:26 +01:00
2014-07-28 17:05:06 +02:00
2012-02-14 14:52:02 +01:00
2014-07-28 17:05:06 +02:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2014-07-28 17:05:06 +02:00
2012-02-14 14:52:02 +01:00
2014-07-28 17:05:06 +02:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2014-07-28 17:05:06 +02:00
2016-01-13 20:32:14 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2013-04-12 18:55:39 +00:00
2014-07-28 17:05:06 +02:00
2016-01-13 20:32:14 +01:00
2012-02-14 14:52:02 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2016-01-13 20:32:14 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2013-01-14 11:36:26 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2016-01-13 20:32:14 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00
2012-02-14 14:52:02 +01:00