common: sepolicy: legacy: Label init.qti.chg_policy.sh

* should not be limited to sdm710 and sdm845 because this is needed for charging component
* follow the format of other qti init shell labeling

Change-Id: Ie05fddd1dbf8e5789831f6ec5c7450607705b4f4
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
This commit is contained in:
Jprimero15 2023-05-26 21:09:48 +08:00 committed by Joshua Primero
parent 15172436cc
commit 9db506c58d
3 changed files with 1 additions and 3 deletions

View File

@ -210,6 +210,7 @@
/(vendor|system/vendor)/bin/init\.qcom\.debug-sdm660\.sh u:object_r:qti_init_shell_exec:s0
/(vendor|system/vendor)/bin/init\.qcom\.debug\.sh u:object_r:qti_init_shell_exec:s0
/(vendor|system/vendor)/bin/init\.qcom\.efs\.sync\.sh u:object_r:qti_init_shell_exec:s0
/(vendor|system/vendor)/bin/init\.qti\.chg_policy\.sh u:object_r:qti_init_shell_exec:s0
/(vendor|system/vendor)/bin/init\.qti\.fm\.sh u:object_r:qti_init_shell_exec:s0
/(vendor|system/vendor)/bin/init\.qcom\.sdio\.sh u:object_r:qti_init_shell_exec:s0
/(vendor|system/vendor)/bin/init\.qcom\.wifi\.sh u:object_r:qti_init_shell_exec:s0

View File

@ -154,7 +154,6 @@
# FBE
/(vendor|system/vendor)/bin/init.qti.qseecomd.sh u:object_r:init-qti-fbe-sh_exec:s0
/vendor/bin/init.qti.chg_policy.sh u:object_r:qti_init_shell_exec:s0
##################################
# same process HAL libs
/vendor/lib(64)?/hw/gralloc\.sdm710\.so u:object_r:same_process_hal_file:s0

View File

@ -95,8 +95,6 @@
# FBE
/(vendor|system/vendor)/bin/init.qti.qseecomd.sh u:object_r:init-qti-fbe-sh_exec:s0
/vendor/bin/init.qti.chg_policy.sh u:object_r:qti_init_shell_exec:s0
# Same process file
/vendor/lib(64)?/hw/gralloc\.sdm845\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/hw/vulkan\.sdm845\.so u:object_r:same_process_hal_file:s0