diff options
Diffstat (limited to 'security/tomoyo/Makefile')
-rw-r--r-- | security/tomoyo/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/tomoyo/Makefile b/security/tomoyo/Makefile index 95278b71fc21..56a0c7be409e 100644 --- a/security/tomoyo/Makefile +++ b/security/tomoyo/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | obj-y = audit.o common.o condition.o domain.o file.o gc.o group.o load_policy.o memory.o mount.o realpath.o securityfs_if.o tomoyo.o util.o | 1 | obj-y = audit.o common.o condition.o domain.o environ.o file.o gc.o group.o load_policy.o memory.o mount.o network.o realpath.o securityfs_if.o tomoyo.o util.o |
2 | 2 | ||
3 | $(obj)/policy/profile.conf: | 3 | $(obj)/policy/profile.conf: |
4 | @mkdir -p $(obj)/policy/ | 4 | @mkdir -p $(obj)/policy/ |
@@ -27,7 +27,7 @@ $(obj)/policy/stat.conf: | |||
27 | @touch $@ | 27 | @touch $@ |
28 | 28 | ||
29 | $(obj)/builtin-policy.h: $(obj)/policy/profile.conf $(obj)/policy/exception_policy.conf $(obj)/policy/domain_policy.conf $(obj)/policy/manager.conf $(obj)/policy/stat.conf | 29 | $(obj)/builtin-policy.h: $(obj)/policy/profile.conf $(obj)/policy/exception_policy.conf $(obj)/policy/domain_policy.conf $(obj)/policy/manager.conf $(obj)/policy/stat.conf |
30 | @echo Generating built-in policy for TOMOYO 2.4.x. | 30 | @echo Generating built-in policy for TOMOYO 2.5.x. |
31 | @echo "static char tomoyo_builtin_profile[] __initdata =" > $@.tmp | 31 | @echo "static char tomoyo_builtin_profile[] __initdata =" > $@.tmp |
32 | @sed -e 's/\\/\\\\/g' -e 's/\"/\\"/g' -e 's/\(.*\)/"\1\\n"/' < $(obj)/policy/profile.conf >> $@.tmp | 32 | @sed -e 's/\\/\\\\/g' -e 's/\"/\\"/g' -e 's/\(.*\)/"\1\\n"/' < $(obj)/policy/profile.conf >> $@.tmp |
33 | @echo "\"\";" >> $@.tmp | 33 | @echo "\"\";" >> $@.tmp |