#
764cd267 |
| 17-Jun-2016 |
David van Moolenbroek <david@minix3.org> |
INET/LWIP: minimal net.route sysctl support
At a point not too far in the future, we will be switching from the hardcoded MINIX3 implementation of the getifaddrs(3) libc routine to the proper NetBSD
INET/LWIP: minimal net.route sysctl support
At a point not too far in the future, we will be switching from the hardcoded MINIX3 implementation of the getifaddrs(3) libc routine to the proper NetBSD implementation. The latter uses the net.route.rtable sysctl functionality to obtain its information. In order make the transition as painless as possible, this patch adds basic support for that net.route.rtable functionality to INET and LWIP, using the remote MIB (RMIB) facility.
Change-Id: I54f5cea7985f6606e317c73a5e6be3a5d07bc7dc
show more ...
|
#
2f09e77b |
| 17-Dec-2015 |
David van Moolenbroek <david@minix3.org> |
MIB: add support for System V IPC information node
The kernel.ipc.sysvipc_info node is the gateway from NetBSD ipcs(1) and ipcrm(1) to the IPC server, and thus necessary for a clean import of these
MIB: add support for System V IPC information node
The kernel.ipc.sysvipc_info node is the gateway from NetBSD ipcs(1) and ipcrm(1) to the IPC server, and thus necessary for a clean import of these two utilities. The MIB service implementation uses the preexisting (Linux-specific) information calls on the IPC server to obtain the information.
Change-Id: I85d1e193162d6b689f114764254dd7f314d2cfa0
show more ...
|
#
e4e21ee1 |
| 13-Oct-2015 |
David van Moolenbroek <david@minix3.org> |
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 s
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
show more ...
|