mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
ebbd4fa8c8
kernel access control. Hook up various policy modules to the kernel build. Note that a number of these modules require futher entry point commits in the remainder of the kernel to become fully functional, but enough of the pieces are in place to allow experimentation. Note also that it would be desirable to not build the mac_*.ko modules if 'options MAC' is not defined in the kernel configuration, because the resulting modules are not useful without the kernel option. There doesn't appear to be precedent for a way to do this -- for example, we allow ipfw.ko to be built even if 'options NETINET' isn't defined. Suggests welcomed on the "best" way to do this. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
11 lines
139 B
Makefile
11 lines
139 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../security/mac_test
|
|
|
|
KMOD= mac_test
|
|
SRCS= vnode_if.h \
|
|
opt_mac.h \
|
|
mac_test.c
|
|
|
|
.include <bsd.kmod.mk>
|