Official MINIX sources - Automatically replicated from gerrit.minix3.org
Go to file
David van Moolenbroek 534584945c IPC: use RMIB to handle kern.ipc sysctl subtree
With this patch, the IPC service is changed to use the new RMIB
facility to register and handle the "kern.ipc" sysctl subtree itself.
The subtree was previously handled by the MIB service directly.  This
change improves locality of handling: especially the
kern.ipc.sysvipc_info node has some peculiarities specific to the IPC
service and is therefore better handled there.  Also, since the IPC
service is essentially optional to the system, this rearrangement
yields a cleaner situation when the IPC service is not running: in
that case, the MIB service will expose a few basic kern.ipc nodes
indicating that no SysV IPC facilities are present.  Those nodes will
be overridden through RMIB when the IPC service is running.

It should be easier to add the remaining (from NetBSD) kern.ipc nodes
as well now.

Test88 is extended with a new subtest that verifies that sysctl-based
information retrieval for semaphore sets works as expected.

Change-Id: I6b7730e85305b64cfd8418c0cc56bde64b22c584
2016-06-18 12:47:24 +00:00
bin Import NetBSD ps(1) 2016-01-13 20:32:52 +01:00
common w(1): switch to libkvm 2016-01-13 20:32:50 +01:00
crypto Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
dist/pf/sbin/pfctl Import a subset of PF distribution files 2016-06-18 12:20:46 +00:00
distrib MIB/libsys: support for remote MIB (RMIB) subtrees 2016-06-18 12:46:59 +00:00
docs Add PTYFS, Unix98 pseudo terminal support 2015-06-23 17:43:46 +00:00
etc MIB/libsys: support for remote MIB (RMIB) subtrees 2016-06-18 12:46:59 +00:00
external Cross-compilation fixes: 2016-02-08 13:05:55 +01:00
games Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
gnu NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
include Start using sysctl(3) throughout userland 2016-01-13 20:32:45 +01:00
lib Revert "libutil: add getmaxpartitions() implementation" 2016-03-13 19:51:58 +00:00
libexec ld.elf_so: sysctl support uncommented 2016-01-16 14:04:24 +01:00
minix IPC: use RMIB to handle kern.ipc sysctl subtree 2016-06-18 12:47:24 +00:00
releasetools Boot-to-ramdisk image generation scripts 2016-03-21 21:01:20 +01:00
sbin Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
share Integrate ASR instrumentation into build system 2016-01-13 20:32:34 +01:00
sys Do not hide the MSG_NOSIGNAL flag 2016-06-18 12:20:48 +00:00
tests tests: add most kyua kernel tests 2016-01-16 14:04:25 +01:00
tools Cross-compilation fixes: 2016-02-08 13:05:55 +01:00
usr.bin Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
usr.sbin Fix ARM noassert builds -g/-O{s/0/1/2/3} 2016-01-24 18:56:38 +01:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview build:update 'git review' config to match gerrit.minix3.org 2014-07-28 17:05:15 +02:00
build.sh NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
Makefile.inc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00