aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/mac_ifoff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-08-01 17:41:27 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-08-01 17:41:27 +0000
commitebbd4fa8c8427d3dd847ba33c45c996e0500e6ff (patch)
treebf353d430742245bedb248d2f4139d554b7be390 /sys/modules/mac_ifoff
parentec7c30a0f51e144540f0c7956fc3fde2289f1a8d (diff)
downloadsrc-ebbd4fa8c8427d3dd847ba33c45c996e0500e6ff.tar.gz
src-ebbd4fa8c8427d3dd847ba33c45c996e0500e6ff.zip
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
Notes
Notes: svn path=/head/; revision=101172
Diffstat (limited to 'sys/modules/mac_ifoff')
-rw-r--r--sys/modules/mac_ifoff/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/modules/mac_ifoff/Makefile b/sys/modules/mac_ifoff/Makefile
new file mode 100644
index 000000000000..7e94a8801415
--- /dev/null
+++ b/sys/modules/mac_ifoff/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../security/mac_ifoff
+
+KMOD= mac_ifoff
+SRCS= vnode_if.h \
+ opt_mac.h \
+ mac_ifoff.c
+
+.include <bsd.kmod.mk>