From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751286AbVHVVhx (ORCPT ); Mon, 22 Aug 2005 17:37:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751290AbVHVVhx (ORCPT ); Mon, 22 Aug 2005 17:37:53 -0400 Received: from e5.ny.us.ibm.com ([32.97.182.145]:37611 "EHLO e5.ny.us.ibm.com") by vger.kernel.org with ESMTP id S1751287AbVHVVhv (ORCPT ); Mon, 22 Aug 2005 17:37:51 -0400 Date: Mon, 22 Aug 2005 11:52:09 -0500 From: serue@us.ibm.com To: serue@us.ibm.com Cc: lkml , linux-security-module@wirex.com, Andrew Morton , Stephen Smalley , James Morris , Chris Wright Subject: Re: [PATCH -mm 3/3] [LSM] Stacking support for inode_init_security Message-ID: <20050822165209.GB5511@sergelap.austin.ibm.com> References: <20050822080401.GA26125@sergelap.austin.ibm.com> <20050822082028.GB25390@sergelap.austin.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050822082028.GB25390@sergelap.austin.ibm.com> User-Agent: Mutt/1.5.8i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Quoting serue@us.ibm.com (serue@us.ibm.com): > This patch adds two stackable test LSMs which only define > inode_init_security(). Any file created while these modules are > loaded should have the xattrs ("security.name1", "value1") and > ("security.name2", "value2"). > > thanks, > -serge I'd forgotten a 'quilt add'. The following trivial patch against security/Makefile is necessary to actually compile the test LSMs... thanks, -serge Signed-off-by: Serge Hallyn Index: linux-2.6.13-rc6-mm1/security/Makefile =================================================================== --- linux-2.6.13-rc6-mm1.orig/security/Makefile 2005-08-21 21:19:32.000000000 -0500 +++ linux-2.6.13-rc6-mm1/security/Makefile 2005-08-22 15:19:41.000000000 -0500 @@ -19,3 +19,4 @@ obj-$(CONFIG_SECURITY_CAPABILITIES) += c obj-$(CONFIG_SECURITY_CAP_STACK) += commoncap.o cap_stack.o obj-$(CONFIG_SECURITY_ROOTPLUG) += commoncap.o root_plug.o obj-$(CONFIG_SECURITY_SECLVL) += seclvl.o +obj-m += testinitsec1.o testinitsec2.o