mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 10:07:12 +00:00
31 lines
969 B
Diff
31 lines
969 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 | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
--- a/security/Kconfig
|
|
+++ b/security/Kconfig
|
|
@@ -124,6 +124,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
|
|
@@ -16,5 +16,6 @@ obj-$(CONFIG_SECURITY) += security.o d
|
|
# Must precede capability.o in order to stack properly.
|
|
obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o
|
|
obj-$(CONFIG_SECURITY_SMACK) += commoncap.o smack/built-in.o
|
|
+obj-$(CONFIG_SECURITY_APPARMOR) += commoncap.o apparmor/
|
|
obj-$(CONFIG_SECURITY_CAPABILITIES) += commoncap.o capability.o
|
|
obj-$(CONFIG_SECURITY_ROOTPLUG) += commoncap.o root_plug.o
|