Remove init-sh files that are not needed

Change-Id: I4b588c258f1d50b956bace1b61d0964fa0848c10
This commit is contained in:
Sridhar Parasuram
2018-01-25 11:35:26 -08:00
parent 77eb26c3a3
commit df17efd8b1
6 changed files with 0 additions and 77 deletions

View File

@@ -117,12 +117,6 @@
/vendor/bin/chre u:object_r:chre_exec:s0
/vendor/bin/time_daemon u:object_r:time_daemon_exec:s0
/vendor/bin/imsrcsd u:object_r:hal_rcsservice_exec:s0
/vendor/bin/init\.qcom\.devstart\.sh u:object_r:init-qcom-devstart-sh_exec:s0
/vendor/bin/init\.qcom\.ipastart\.sh u:object_r:init-qcom-ipastart-sh_exec:s0
/vendor/bin/init\.insmod\.sh u:object_r:init-insmod-sh_exec:s0
/vendor/etc/init\.insmod\.cfg u:object_r:init-insmod-sh_exec:s0
/vendor/bin/init\.power\.sh u:object_r:init_power_exec:s0
/vendor/bin/init\.radio\.sh u:object_r:init_radio_exec:s0
/vendor/bin/hw/android\.hardware\.drm@1\.0-service.widevine u:object_r:hal_drm_widevine_exec:s0
/vendor/bin/hw/android\.hardware\.vibrator@1\.1-service.crosshatch u:object_r:hal_vibrator_default_exec:s0

View File

@@ -1,16 +0,0 @@
type init-qcom-devstart-sh, domain;
type init-qcom-devstart-sh_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(init-qcom-devstart-sh)
allow init-qcom-devstart-sh vendor_shell_exec:file rx_file_perms;
allow init-qcom-devstart-sh vendor_toolbox_exec:file rx_file_perms;
# execute grep
allow init-qcom-devstart-sh vendor_file:file rx_file_perms;
# Set the sys.qcom.devup property
set_prop(init-qcom-devstart-sh, system_prop)
# Set boot_adsp and boot_slpi to 1
allow init-qcom-devstart-sh sysfs_msm_subsys:file w_file_perms;

View File

@@ -1,16 +0,0 @@
type init-insmod-sh, domain;
type init-insmod-sh_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(init-insmod-sh)
allow init-insmod-sh vendor_shell_exec:file rx_file_perms;
allow init-insmod-sh vendor_toolbox_exec:file rx_file_perms;
# Set the sys.touch.modules.ready property
set_prop(init-insmod-sh, system_prop)
# Allow insmod
allow init-insmod-sh self:capability sys_module;
allow init-insmod-sh system_file:system module_load;
allow init-insmod-sh vendor_file:system module_load;

View File

@@ -1,10 +0,0 @@
type init-qcom-ipastart-sh, domain;
type init-qcom-ipastart-sh_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(init-qcom-ipastart-sh)
allow init-qcom-ipastart-sh vendor_shell_exec:file rx_file_perms;
allow init-qcom-ipastart-sh vendor_toolbox_exec:file rx_file_perms;
# Set /dev/ipa to 1
allow init-qcom-ipastart-sh ipa_dev:chr_file w_file_perms;

View File

@@ -1,18 +0,0 @@
type init_power, domain;
type init_power_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(init_power)
set_prop(init_power, post_boot_prop)
allow init_power vendor_shell_exec:file rx_file_perms;
allow init_power vendor_toolbox_exec:file rx_file_perms;
r_dir_file(init_power, sysfs_msm_subsys)
allow init_power sysfs_msm_subsys:file write;
allow init_power sysfs_thermal:dir search;
allow init_power sysfs_thermal:file w_file_perms;
allow init_power sysfs_devices_system_cpu:file w_file_perms;
allow init_power sysfs_soc:file r_file_perms;
allow init_power sysfs_soc:dir search;

View File

@@ -1,11 +0,0 @@
# /vendor/bin/init.radio.sh
type init_radio, domain;
type init_radio_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(init_radio)
allow init_radio vendor_shell_exec:file rx_file_perms;
allow init_radio vendor_toolbox_exec:file rx_file_perms;
allow init_radio radio_vendor_data_file:dir create_dir_perms;
allow init_radio radio_vendor_data_file:file create_file_perms;