diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2002-12-03 15:12:36 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2002-12-03 15:12:36 +0000 |
commit | c3a04e1ea4e87a7e7dad36db54db501427e6a366 (patch) | |
tree | ee7e7e5918a8d109993a717c08de44e087637b42 /sys/modules | |
parent | dbd8d5b2ddfb539c2c513d25646588bf28023258 (diff) | |
download | src-c3a04e1ea4e87a7e7dad36db54db501427e6a366.tar.gz src-c3a04e1ea4e87a7e7dad36db54db501427e6a366.zip |
Unhook the old LOMAC module, now replaced with mac_lomac.
Approved by: re (jhb)
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Notes
Notes:
svn path=/head/; revision=107548
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/Makefile | 2 | ||||
-rw-r--r-- | sys/modules/lomac/Makefile | 41 | ||||
-rw-r--r-- | sys/modules/lomac/Makefile.inc | 3 | ||||
-rw-r--r-- | sys/modules/lomac/plm/Makefile | 14 | ||||
-rw-r--r-- | sys/modules/lomac/syscall_gate/Makefile | 13 |
5 files changed, 0 insertions, 73 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index b4d69cf8161b..ff6b0be447d6 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 e661792b578d..000000000000 --- 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 265f86d1ed55..000000000000 --- 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 2dac4b871219..000000000000 --- 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 d74fe922468a..000000000000 --- 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> |