projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaf2213
)
tomoyo: avoid unneeded creation of builtin-policy.h
author
Masahiro Yamada
<masahiroy@kernel.org>
Sat, 7 Jan 2023 07:47:42 +0000
(16:47 +0900)
committer
Tetsuo Handa
<penguin-kernel@I-love.SAKURA.ne.jp>
Sat, 7 Jan 2023 12:31:35 +0000
(21:31 +0900)
When CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING=y,
builtin-policy.h is unneeded.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
security/tomoyo/Makefile
patch
|
blob
|
history
diff --git
a/security/tomoyo/Makefile
b/security/tomoyo/Makefile
index
221eaad
..
1b18a02
100644
(file)
--- a/
security/tomoyo/Makefile
+++ b/
security/tomoyo/Makefile
@@
-13,4
+13,6
@@
quiet_cmd_policy = POLICY $@
$(obj)/builtin-policy.h: $(wildcard $(obj)/policy/*.conf $(srctree)/$(src)/policy/*.conf.default) FORCE
$(call if_changed,policy)
+ifndef CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING
$(obj)/common.o: $(obj)/builtin-policy.h
+endif