[tomoyo-dev-en 337] [PATCH] security: TOMOYO should clean policy files

Back to archive index

Randy Dunlap rdunl****@xenot*****
Wed Feb 15 06:06:42 JST 2012


From: Randy Dunlap <rdunl****@xenot*****>

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 <rdunl****@xenot*****>
Cc:	Kentaro Takeda <taked****@nttda*****>
Cc:	Tetsuo Handa <pengu****@I-lov*****>
Cc:	tomoy****@lists*****
---
 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/




More information about the tomoyo-dev-en mailing list
Back to archive index