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