1type init-qcom-devstart-sh, domain;
2type init-qcom-devstart-sh_exec, exec_type, vendor_file_type, file_type;
3
4init_daemon_domain(init-qcom-devstart-sh)
5
6allow init-qcom-devstart-sh vendor_shell_exec:file rx_file_perms;
7allow init-qcom-devstart-sh vendor_toolbox_exec:file rx_file_perms;
8
9# execute grep
10allow init-qcom-devstart-sh vendor_file:file rx_file_perms;
11
12# Set the sys.qcom.devup property
13set_prop(init-qcom-devstart-sh, public_vendor_system_prop)
14
15# Set boot_adsp and boot_slpi to 1
16allow init-qcom-devstart-sh sysfs_msm_subsys:file w_file_perms;
17