Home | History | Annotate | Download | only in sepolicy
      1 type init-qcom-devstart-sh, domain;
      2 type init-qcom-devstart-sh_exec, exec_type, vendor_file_type, file_type;
      3 
      4 init_daemon_domain(init-qcom-devstart-sh)
      5 
      6 # execute vendor_shell
      7 allow init-qcom-devstart-sh vendor_shell_exec:file rx_file_perms;
      8 # execute toybox/toolbox
      9 allow init-qcom-devstart-sh vendor_toolbox_exec:file rx_file_perms;
     10 # execute grep
     11 allow init-qcom-devstart-sh vendor_file:file rx_file_perms;
     12 
     13 # Set the sys.qcom.devup property
     14 set_prop(init-qcom-devstart-sh, system_prop)
     15 
     16 # Set boot_adsp and boot_slpi to 1
     17 allow init-qcom-devstart-sh sysfs_msm_subsys:file w_file_perms;
     18