From mboxrd@z Thu Jan 1 00:00:00 1970 From: jjohansen@suse.de Subject: [AppArmor 41/45] Add AppArmor LSM to security/Makefile Date: Mon, 14 May 2007 04:06:48 -0700 Message-ID: <20070514110622.445501044@suse.de> References: <20070514110607.549397248@suse.de> Cc: linux-security-module@vger.kernel.org, linux-fsdevel@vger.kernel.org, John Johansen , Andreas Gruenbacher To: linux-kernel@vger.kernel.org Return-path: Received: from 213.210.179.104.adsl.nextra.cz ([213.210.179.104]:27940 "EHLO duck8.pdx.novell.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965287AbXENLcn (ORCPT ); Mon, 14 May 2007 07:32:43 -0400 Content-Disposition: inline; filename=apparmor-intree.diff Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Signed-off-by: John Johansen Signed-off-by: Andreas Gruenbacher --- security/Kconfig | 1 + security/Makefile | 1 + security/apparmor/Kconfig | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) --- a/security/Kconfig +++ b/security/Kconfig @@ -94,6 +94,7 @@ config SECURITY_ROOTPLUG If you are unsure how to answer this question, answer N. source security/selinux/Kconfig +source security/apparmor/Kconfig endmenu --- a/security/Makefile +++ b/security/Makefile @@ -14,5 +14,6 @@ endif 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_APPARMOR) += commoncap.o apparmor/ obj-$(CONFIG_SECURITY_CAPABILITIES) += commoncap.o capability.o obj-$(CONFIG_SECURITY_ROOTPLUG) += commoncap.o root_plug.o --- a/security/apparmor/Kconfig +++ b/security/apparmor/Kconfig @@ -1,6 +1,7 @@ config SECURITY_APPARMOR tristate "AppArmor support" - depends on SECURITY!=n + depends on SECURITY + select AUDIT help This enables the AppArmor security module. Required userspace tools (if they are not included in your --