blob: caa60586992104da38d8243419febbaeb997a0f8 [file] [log] [blame]
satayevafc97912021-03-19 11:08:49 +00001
2# Domain for derive_classpath
3type derive_classpath, domain, coredomain;
4type derive_classpath_exec, system_file_type, exec_type, file_type;
5init_daemon_domain(derive_classpath)
6
Artur Satayev4c6d3082021-03-29 15:39:33 +01007# Read /apex
8allow derive_classpath apex_mnt_dir:dir r_dir_perms;
9
satayevafc97912021-03-19 11:08:49 +000010# Create /data/system/environ/classpath file
11allow derive_classpath environ_system_data_file:dir rw_dir_perms;
12allow derive_classpath environ_system_data_file:file create_file_perms;
13
14# b/183079517 fails on gphone targets otherwise
15allow derive_classpath unlabeled:dir search;