2015-06-19 19:47:26 +02:00
|
|
|
# idmap, when executed by installd
|
2015-11-03 18:54:39 +01:00
|
|
|
type idmap, domain, domain_deprecated;
|
2015-06-19 19:47:26 +02:00
|
|
|
type idmap_exec, exec_type, file_type;
|
|
|
|
|
|
|
|
# Use open file to /data/resource-cache file inherited from installd.
|
|
|
|
allow idmap installd:fd use;
|
|
|
|
allow idmap resourcecache_data_file:file { getattr read write };
|
|
|
|
|
|
|
|
# Open and read from target and overlay apk files passed by argument.
|
|
|
|
allow idmap apk_data_file:file r_file_perms;
|