freebsd-dev/sys/modules/mac_test/Makefile
Robert Watson ebbd4fa8c8 Introduce support for Mandatory Access Control and extensible
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
2002-08-01 17:41:27 +00:00

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>