Skip to contentSkip to conversation

BSD Secure Levels LSM (2/3)

PATCH New Michael Halcrow 1 participant 1 message Aug 10, 2004 Security (LSM)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 BSD Secure Levels LSM (2/3)

This patch modifies security/Kconfig and security/Makefile to support the BSD Secure Levels LSM. It also includes security/seclvl.c, which is the module itself.

Mike
.___________________________________________________________________.
Michael A. Halcrow
Security Software Engineer, IBM Linux Technology Center
GnuPG Fingerprint: 05B5 08A8 713A 64C1 D35D 2371 2D3C FDDA 3EB6 601D

security/Kconfig +11 -0
@@ -44,6 +44,17 @@
 	  
 	  If you are unsure how to answer this question, answer N.
 
+config SECURITY_SECLVL
+	tristate "BSD Secure Levels"
+	depends on SECURITY
+	select CRYPTO_SHA1
+	help
+	  Implements BSD Secure Levels as an LSM.  See
+	  Documentation/seclvl.txt for instructions on how to use this
+	  module.
+
+	  If you are unsure how to answer this question, answer N.
+
 source security/selinux/Kconfig
 
 endmenu
security/Makefile +1 -0
@@ -15,3 +15,4 @@
 obj-$(CONFIG_SECURITY_SELINUX)		+= selinux/built-in.o
 obj-$(CONFIG_SECURITY_CAPABILITIES)	+= commoncap.o capability.o
 obj-$(CONFIG_SECURITY_ROOTPLUG)		+= commoncap.o root_plug.o
+obj-$(CONFIG_SECURITY_SECLVL)		+= seclvl.o
security/seclvl.c +751 -0

751 lines not on this page · raw message