Merge "system_server: Report dalvikcache_data_file execute violations." into oc-dev

This commit is contained in:
TreeHugger Robot 2017-04-12 19:40:30 +00:00 committed by Android (Google) Code Review
commit 17d2594235

View file

@ -18,6 +18,10 @@ allow system_server zygote_tmpfs:file read;
# For art.
allow system_server dalvikcache_data_file:dir r_dir_perms;
allow system_server dalvikcache_data_file:file { r_file_perms execute };
userdebug_or_eng(`
# Report dalvikcache_data_file:file execute violations.
auditallow system_server dalvikcache_data_file:file execute;
')
# /data/resource-cache
allow system_server resourcecache_data_file:file r_file_perms;