File apparmor-enable-profile-cache.diff of Package libapparmor.9915

Enable caching of profiles.

This speeds up loading the (unchanged) profiles about 20 times.

Upstream doesn't enable caching because the cache directory is not 
writeable at the time profiles are loaded in Ubuntu.

See also bnc#689458


Signed-off by: Christian Boltz <apparmor@cboltz.de>

--- a/parser/parser.conf_ORIG	2011-10-09 20:59:31.000000000 +0200
+++ b/parser/parser.conf	2011-10-09 21:00:15.000000000 +0200
@@ -31,7 +31,7 @@
 # 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
openSUSE Build Service is sponsored by