2011-10-10 14:10:08 +02:00
|
|
|
Enable caching of profiles.
|
|
|
|
|
|
|
|
This speeds up loading the (unchanged) profiles about 20 times.
|
|
|
|
|
2018-04-20 01:21:57 +02:00
|
|
|
Upstream doesn't enable caching because the cache directory is not
|
2011-10-10 14:10:08 +02:00
|
|
|
writeable at the time profiles are loaded in Ubuntu.
|
|
|
|
|
|
|
|
See also bnc#689458
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off by: Christian Boltz <apparmor@cboltz.de>
|
|
|
|
|
2018-04-20 01:21:57 +02:00
|
|
|
Index: parser/parser.conf
|
|
|
|
===================================================================
|
|
|
|
--- parser/parser.conf_ORIG 2018-04-19 22:47:18.485179998 +0200
|
|
|
|
+++ parser/parser.conf 2018-04-19 22:51:12.084588654 +0200
|
2023-06-11 18:08:52 +02:00
|
|
|
@@ -31,7 +31,7 @@
|
2011-10-10 14:10:08 +02:00
|
|
|
# match-string "pattern=aadfa audit perms=crwxamlk/ user::other"
|
|
|
|
|
|
|
|
## Turn creating/updating of the cache on by default
|
|
|
|
-#write-cache
|
|
|
|
+write-cache
|
|
|
|
|
|
|
|
## Show cache hits
|
|
|
|
#show-cache
|
2020-10-26 21:16:22 +01:00
|
|
|
|