kernel: Make sysvipc syscalls non-optional

Operating Systems / DragonFlyBSD - Sascha Wildner [online.de] - 29 July 2014 14:40 UTC

Before this commit, we had three related kernel options, SYSVMSG, SYSVSEM and SYSVSHM, to enable the syscalls. They were in all our configs, but in theory the user could disable the functionality. Having to deal with scenarios where they are not available is unnecessarily complicated and there seems to be no real reason to want to disable them.

For convenience, leave the three options as no-ops for now, so adjusting the kernel config is not necessarily needed. We'll change them to being unknown at some later point.

This commit also removes some parts which assumed that we had sysvmsg.ko, sysvsem.ko and sysvshm.ko modules, like FreeBSD, but this assumption was never true on DragonFly.

10ceb70 kernel: Make sysvipc syscalls non-optional.
UPDATING | 6 +++
etc/defaults/rc.conf | 1 -
etc/rc.d/abi | 15 ------
share/man/man5/rc.conf.5 | 7 +--
sys/conf/files | 6 +--
sys/conf/options | 6 +--
sys/config/GENERIC | 3 --
sys/config/LINT | 3 --
sys/config/LINT64 | 3 --
sys/config/SOEKRIS | 3 --
sys/config/VKERNEL | 3 --
sys/config/VKERNEL64 | 3 --
sys/config/X86_64_GENERIC | 3 --
sys/kern/sysv_ipc.c | 99 ----------------------------------
test/stress/stress2/misc/syscall.sh | 8 +--
test/stress/stress2/misc/syscall2.sh | 8 +--
16 files changed, 17 insertions(+), 160 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share