mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-07 01:41:00 +01:00
31 lines
1,003 B
Diff
31 lines
1,003 B
Diff
From: John Johansen <jjohansen@suse.de>
|
|
Subject: Add AppArmor LSM to security/Makefile
|
|
|
|
Signed-off-by: John Johansen <jjohansen@suse.de>
|
|
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
|
|
|
---
|
|
security/Kconfig | 1 +
|
|
security/Makefile | 3 ++-
|
|
2 files changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
--- a/security/Kconfig
|
|
+++ b/security/Kconfig
|
|
@@ -117,6 +117,7 @@ config SECURITY_DEFAULT_MMAP_MIN_ADDR
|
|
|
|
source security/selinux/Kconfig
|
|
source security/smack/Kconfig
|
|
+source security/apparmor/Kconfig
|
|
|
|
endmenu
|
|
|
|
--- a/security/Makefile
|
|
+++ b/security/Makefile
|
|
@@ -14,5 +14,6 @@ obj-$(CONFIG_SECURITY) += security.o c
|
|
# Must precede capability.o in order to stack properly.
|
|
obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o
|
|
obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o
|
|
-obj-$(CONFIG_SECURITY_ROOTPLUG) += root_plug.o
|
|
+obj-$(CONFIG_SECURITY_APPARMOR) += commoncap.o apparmor/
|
|
+ obj-$(CONFIG_SECURITY_ROOTPLUG) += root_plug.o
|
|
obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o
|