mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
b67dbf9d4c
Here's a small patch against 2.6.13-rc2 that adds securityfs, a virtual fs that all LSMs can use instead of creating their own. The fs should be mounted at /sys/kernel/security, and the fs creates that mount point. This will make the LSB people happy that we aren't creating a new /my_lsm_fs directory in the root for every different LSM. It has changed a bit since the last version, thanks to comments from Mike Waychison. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Chris Wright <chrisw@osdl.org>
20 lines
599 B
Makefile
20 lines
599 B
Makefile
#
|
|
# Makefile for the kernel security code
|
|
#
|
|
|
|
obj-$(CONFIG_KEYS) += keys/
|
|
subdir-$(CONFIG_SECURITY_SELINUX) += selinux
|
|
|
|
# if we don't select a security model, use the default capabilities
|
|
ifneq ($(CONFIG_SECURITY),y)
|
|
obj-y += commoncap.o
|
|
endif
|
|
|
|
# Object file lists
|
|
obj-$(CONFIG_SECURITY) += security.o dummy.o inode.o
|
|
# Must precede capability.o in order to stack properly.
|
|
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
|