blob: f7de25d6561e661237034af55108fdb49121b2c9 [file] [log] [blame]
Ed Heyl8ee37b42014-07-14 23:32:08 -07001# dex2oat
2type dex2oat, domain;
3type dex2oat_exec, exec_type, file_type;
4
5allow dex2oat dalvikcache_data_file:file write;
Igor Murashkinf7ccfd02014-10-24 14:22:12 -07006# Read symlinks in /data/dalvik-cache
7allow dex2oat dalvikcache_data_file:lnk_file read;
Ed Heyl8ee37b42014-07-14 23:32:08 -07008allow dex2oat installd:fd use;
Nick Kralevich94b2ba92014-07-16 09:38:06 -07009
10# Read already open asec_apk_file file descriptors passed by installd.
Nick Kraleviche4aa75d2014-07-16 15:34:06 -070011# Also allow reading unlabeled files, to allow for upgrading forward
12# locked APKs.
Nick Kralevich94b2ba92014-07-16 09:38:06 -070013allow dex2oat asec_apk_file:file read;
Nick Kraleviche4aa75d2014-07-16 15:34:06 -070014allow dex2oat unlabeled:file read;
Nick Kralevichadbabee2014-11-26 11:46:06 -080015allow dex2oat oemfs:file read;