edd13bc3b2
Copied from device/google/crosshatch-sepolicy. Test: diff files in system/etc/selinux before and after for aosp_marlin Change-Id: I518c43af9c217483bdab02424e4aef0270aad366
14 lines
579 B
Text
14 lines
579 B
Text
type preloads_copy, domain, coredomain;
|
|
type preloads_copy_exec, system_file_type, exec_type, file_type;
|
|
|
|
init_daemon_domain(preloads_copy)
|
|
|
|
allow preloads_copy shell_exec:file rx_file_perms;
|
|
allow preloads_copy toolbox_exec:file rx_file_perms;
|
|
allow preloads_copy preloads_data_file:dir create_dir_perms;
|
|
allow preloads_copy preloads_data_file:file create_file_perms;
|
|
allow preloads_copy preloads_media_file:dir create_dir_perms;
|
|
allow preloads_copy preloads_media_file:file create_file_perms;
|
|
|
|
# Allow to copy from /postinstall
|
|
allow preloads_copy system_file:dir r_dir_perms;
|