1# dex2oat 2type dex2oat, domain; 3type dex2oat_exec, exec_type, file_type; 4 5allow dex2oat dalvikcache_data_file:file write; 6# Read symlinks in /data/dalvik-cache 7allow dex2oat dalvikcache_data_file:lnk_file read; 8allow dex2oat installd:fd use; 9 10# Read already open asec_apk_file file descriptors passed by installd. 11# Also allow reading unlabeled files, to allow for upgrading forward 12# locked APKs. 13allow dex2oat asec_apk_file:file read; 14allow dex2oat unlabeled:file read; 15allow dex2oat oemfs:file read; 16allow dex2oat apk_tmp_file:file read; 17