1 type init-qcom-devstart-sh, domain; 2 type init-qcom-devstart-sh_exec, exec_type, file_type; 3 4 init_daemon_domain(init-qcom-devstart-sh) 5 6 allow init-qcom-devstart-sh shell_exec:file rx_file_perms; 7 8 # execute toybox/toolbox 9 allow init-qcom-devstart-sh toolbox_exec:file rx_file_perms; 10 11 # Set the sys.qcom.devup property 12 set_prop(init-qcom-devstart-sh, system_prop) 13 14 # Set boot_adsp and boot_slpi to 1 15 allow init-qcom-devstart-sh sysfs_msm_subsys:file w_file_perms; 16