From c4ec9fdf4785ace74bd9657bbbb9d3a6a22af7d5 Mon Sep 17 00:00:00 2001 From: rwatson Date: Thu, 1 Aug 2002 17:41:27 +0000 Subject: 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 --- sys/modules/mac_test/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sys/modules/mac_test/Makefile (limited to 'sys/modules/mac_test') diff --git a/sys/modules/mac_test/Makefile b/sys/modules/mac_test/Makefile new file mode 100644 index 0000000..03144ab --- /dev/null +++ b/sys/modules/mac_test/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../security/mac_test + +KMOD= mac_test +SRCS= vnode_if.h \ + opt_mac.h \ + mac_test.c + +.include -- cgit v1.1