• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
6# execute vendor_shell
7allow init-qcom-devstart-sh vendor_shell_exec:file rx_file_perms;
8# execute toybox/toolbox
9allow init-qcom-devstart-sh vendor_toolbox_exec:file rx_file_perms;
10
11# Set the sys.qcom.devup property
12set_prop(init-qcom-devstart-sh, system_prop)
13
14# Set boot_adsp and boot_slpi to 1
15allow init-qcom-devstart-sh sysfs_msm_subsys:file w_file_perms;
16