2014-07-14 23:32:08 -07:00
|
|
|
# dex2oat
|
|
|
|
type dex2oat, domain;
|
|
|
|
type dex2oat_exec, exec_type, file_type;
|
|
|
|
|
|
|
|
allow dex2oat dalvikcache_data_file:file write;
|
2014-10-24 14:22:12 -07:00
|
|
|
# Read symlinks in /data/dalvik-cache
|
|
|
|
allow dex2oat dalvikcache_data_file:lnk_file read;
|
2014-07-14 23:32:08 -07:00
|
|
|
allow dex2oat installd:fd use;
|
2014-07-16 09:38:06 -07:00
|
|
|
|
|
|
|
# Read already open asec_apk_file file descriptors passed by installd.
|
2014-07-16 15:34:06 -07:00
|
|
|
# Also allow reading unlabeled files, to allow for upgrading forward
|
|
|
|
# locked APKs.
|
2014-07-16 09:38:06 -07:00
|
|
|
allow dex2oat asec_apk_file:file read;
|
2014-07-16 15:34:06 -07:00
|
|
|
allow dex2oat unlabeled:file read;
|
2014-11-26 11:46:06 -08:00
|
|
|
allow dex2oat oemfs:file read;
|
2015-03-03 18:19:12 -08:00
|
|
|
allow dex2oat apk_tmp_file:file read;
|