[PATCH] security: TOMOYO should clean policy files
From: Randy Dunlap
Date: Tue Feb 14 2012 - 16:07:20 EST
From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
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 <rdunlap@xxxxxxxxxxxx>
Cc: Kentaro Takeda <takedakn@xxxxxxxxxxxxx>
Cc: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
security/tomoyo/Makefile | 2 ++
1 file changed, 2 insertions(+)
@@ -46,3 +46,5 @@ $(obj)/builtin-policy.h: $(obj)/policy/p
@mv $@.tmp $@
+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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/