aboutsummaryrefslogtreecommitdiff
path: root/dex2oat.te
blob: 2df9947ddf3cecba75b2ff80bd2793d2ef8a8b5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# dex2oat
type dex2oat, domain;
type dex2oat_exec, exec_type, file_type;

allow dex2oat dalvikcache_data_file:file write;
allow dex2oat installd:fd use;

# Read already open asec_apk_file file descriptors passed by installd.
# Also allow reading unlabeled files, to allow for upgrading forward
# locked APKs.
allow dex2oat asec_apk_file:file read;
allow dex2oat unlabeled:file read;