Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761207Ab2BNVHX (ORCPT ); Tue, 14 Feb 2012 16:07:23 -0500 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:59341 "HELO oproxy3-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1757241Ab2BNVHW (ORCPT ); Tue, 14 Feb 2012 16:07:22 -0500 Message-ID: <4F3ACCE2.6040200@xenotime.net> Date: Tue, 14 Feb 2012 13:06:42 -0800 From: Randy Dunlap Organization: YPO4 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110323 Thunderbird/3.1.9 MIME-Version: 1.0 To: Linux Kernel Mailing List CC: Kentaro Takeda , Tetsuo Handa , tomoyo-dev-en@lists.sourceforge.jp, James Morris , Andrew Morton Subject: [PATCH] security: TOMOYO should clean policy files Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1204 Lines: 32 From: Randy Dunlap TOMOYO creates some empty/default policy files during build. It should remove them during 'make clean'. I noticed that they were not being removed because the "Creating ..." messages always occurred a maximum of one time during 25 randconfig builds, so it was sometimes using the files from a previous build (which is not a problem, but still, 'make clean' should remove them). Signed-off-by: Randy Dunlap Cc: Kentaro Takeda Cc: Tetsuo Handa Cc: tomoyo-dev-en@lists.sourceforge.jp --- security/tomoyo/Makefile | 2 ++ 1 file changed, 2 insertions(+) --- linux-next-20120214.orig/security/tomoyo/Makefile +++ linux-next-20120214/security/tomoyo/Makefile @@ -46,3 +46,5 @@ $(obj)/builtin-policy.h: $(obj)/policy/p @mv $@.tmp $@ $(obj)/common.o: $(obj)/builtin-policy.h + +clean-dirs := $(objtree)/security/tomoyo/policy/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/