Allow dex2oat to acess profile files

Bug: 26080105
Change-Id: I8075d093bb5adc3d856033be3b3aaa38254e8071
This commit is contained in:
Calin Juravle 2016-01-12 11:15:55 -08:00
parent 02863a7ca7
commit de41b3d900

View File

@ -1,5 +1,5 @@
# dex2oat
type dex2oat, domain, domain_deprecated;
type dex2oat, domain, mlstrustedsubject, domain_deprecated;
type dex2oat_exec, exec_type, file_type;
allow dex2oat dalvikcache_data_file:file write;
@ -14,3 +14,6 @@ allow dex2oat asec_apk_file:file read;
allow dex2oat unlabeled:file read;
allow dex2oat oemfs:file read;
allow dex2oat apk_tmp_file:file read;
allow dex2oat app_data_file:file {read write lock};
neverallow dex2oat app_data_file:notdevfile_class_set open;