summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-12-03 15:12:36 +0000
committerrwatson <rwatson@FreeBSD.org>2002-12-03 15:12:36 +0000
commitbb2d09c9b0716781d1d759be644cedff4eadb096 (patch)
treeee7e7e5918a8d109993a717c08de44e087637b42 /sys/modules
parent0833bc761d70ec620406dfd6fd49dbb5b04d53fc (diff)
downloadFreeBSD-src-bb2d09c9b0716781d1d759be644cedff4eadb096.zip
FreeBSD-src-bb2d09c9b0716781d1d759be644cedff4eadb096.tar.gz
Unhook the old LOMAC module, now replaced with mac_lomac.
Approved by: re (jhb) Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile2
-rw-r--r--sys/modules/lomac/Makefile41
-rw-r--r--sys/modules/lomac/Makefile.inc3
-rw-r--r--sys/modules/lomac/plm/Makefile14
-rw-r--r--sys/modules/lomac/syscall_gate/Makefile13
5 files changed, 0 insertions, 73 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index b4d69cf..ff6b0be 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -239,7 +239,6 @@ SUBDIR+=aic \
hea \
hfa \
iir \
- lomac \
mly \
netgraph \
pccard \
@@ -260,7 +259,6 @@ SUBDIR+=aic \
.if ${MACHINE_ARCH} == "alpha"
SUBDIR+=linprocfs \
linux \
- lomac \
osf1 \
sound \
sppp \
diff --git a/sys/modules/lomac/Makefile b/sys/modules/lomac/Makefile
deleted file mode 100644
index e661792..0000000
--- a/sys/modules/lomac/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-# $FreeBSD$
-
-KMOD= lomac
-SRCS= vnode_if.h kernel_lkm.c kernel_interface.c kernel_util.c \
- kernel_log.c kernel_mediate.c lomacfs_vfsops.c lomacfs_vnops.c \
- lomacfs_subr.c kernel_monitor.c kernel_mmap.c kernel_pipe.c \
- kernel_socket.c
-SUBDIR+= syscall_gate
-SUBDIR+= plm
-CFLAGS+= -I${.CURDIR}/../../security/lomac
-CFLAGS+= -DUSES_LOCKMGR # necessary until VM uses sx locks
-#CFLAGS+= -DP_CAN_HOOKS # There are no hooks for p_can*() ops in the
-# kernel yet. Until then, all subject-subject
-# mediation is effectively "off".
-#CFLAGS+= -DLOMAC_DEBUG_LOOKUPSTATS # relatively cheap
-#CFLAGS+= -DLOMAC_DEBUG_NODE_ALLOC # pretty verbose
-#CFLAGS+= -DLOMAC_DEBUG_LINK # pretty verbose
-#CFLAGS+= -DLOMAC_DEBUG_INCNAME # can starve memory
-#CFLAGS+= -DLOMAC_DEBUG_INACTIVE # extremely verbose
-#CFLAGS+= -DLOMAC_DEBUG_RECLAIM # extremely verbose
-#CFLAGS+= -DLOMAC_DEBUG_LOOKUP # extremely verbose
-#CFLAGS+= -DLOMAC_DEBUG_PIPE # relatively cheap
-#CFLAGS+= -DLOMAC_DEBUG_RECWD # only happens once
-
-EXPORT_SYMS= YES # XXX evaluate
-
-.PATH: ${.CURDIR}/../../security/lomac
-
-load-all: all
- @cd ${.CURDIR}/syscall_gate; ${MAKE} load
- @cd ${.CURDIR}/plm; ${MAKE} load
- @${MAKE} load
-
-kldunload-binacts:
- -/sbin/kldunload linux
- -/sbin/kldunload svr4
-
-start: kldunload-binacts load-all
-
-.include "Makefile.inc"
-.include <bsd.kmod.mk>
diff --git a/sys/modules/lomac/Makefile.inc b/sys/modules/lomac/Makefile.inc
deleted file mode 100644
index 265f86d..0000000
--- a/sys/modules/lomac/Makefile.inc
+++ /dev/null
@@ -1,3 +0,0 @@
-# $FreeBSD$
-
-.include "../Makefile.inc"
diff --git a/sys/modules/lomac/plm/Makefile b/sys/modules/lomac/plm/Makefile
deleted file mode 100644
index 2dac4b8..0000000
--- a/sys/modules/lomac/plm/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-# $FreeBSD$
-
-KMOD= lomac_plm
-SRCS= vnode_if.h kernel_plm.c
-CFLAGS+= -I${.CURDIR}/../../../security/lomac
-
-EXPORT_SYMS= lomac_node_entry_root \
- lomac_plm_init_lomacfs_vnode \
- lomac_plm_initialized
-
-.PATH: ${.CURDIR}/../../../security/lomac
-
-.include "../Makefile.inc"
-.include <bsd.kmod.mk>
diff --git a/sys/modules/lomac/syscall_gate/Makefile b/sys/modules/lomac/syscall_gate/Makefile
deleted file mode 100644
index d74fe92..0000000
--- a/sys/modules/lomac/syscall_gate/Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
-# $FreeBSD$
-
-KMOD= syscall_gate
-SRCS= syscall_gate.c
-CFLAGS+= -I${.CURDIR}/../../../security/lomac
-
-EXPORT_SYMS= syscall_gate_register \
- syscall_gate_deregister
-
-.PATH: ${.CURDIR}/../../../security/lomac
-
-.include "../Makefile.inc"
-.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud