satayev | afc9791 | 2021-03-19 11:08:49 +0000 | [diff] [blame] | 1 | |
| 2 | # Domain for derive_classpath |
| 3 | type derive_classpath, domain, coredomain; |
| 4 | type derive_classpath_exec, system_file_type, exec_type, file_type; |
| 5 | init_daemon_domain(derive_classpath) |
| 6 | |
| 7 | # Create /data/system/environ/classpath file |
| 8 | allow derive_classpath environ_system_data_file:dir rw_dir_perms; |
| 9 | allow derive_classpath environ_system_data_file:file create_file_perms; |
| 10 | |
| 11 | # b/183079517 fails on gphone targets otherwise |
| 12 | allow derive_classpath unlabeled:dir search; |