From 237af02add6d2be2a65d68fafa291b79077593f6 Mon Sep 17 00:00:00 2001 From: bengris32 Date: Mon, 15 Aug 2022 12:11:35 +0100 Subject: [PATCH] sepolicy: basic: non_plat: Address vendor_init denials Signed-off-by: bengris32 Change-Id: I3eca9b66b08ad1b98c4480bd315eca885c3f6b2d --- basic/non_plat/mtk_hal_power.te | 2 +- basic/non_plat/vendor_init.te | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/basic/non_plat/mtk_hal_power.te b/basic/non_plat/mtk_hal_power.te index 91fba99..d76fb3b 100644 --- a/basic/non_plat/mtk_hal_power.te +++ b/basic/non_plat/mtk_hal_power.te @@ -85,7 +85,7 @@ allow mtk_hal_power mediaserver:dir r_dir_perms; allow mtk_hal_power mediaserver:file r_file_perms; set_prop(mtk_hal_power, vendor_mtk_thermal_config_prop) - +set_prop(mtk_hal_power, vendor_mtk_powerhal_gpu_prop) # Date : 2018/06/26 # Operation: Thermal change policy in perfservice diff --git a/basic/non_plat/vendor_init.te b/basic/non_plat/vendor_init.te index 58ca754..944299b 100644 --- a/basic/non_plat/vendor_init.te +++ b/basic/non_plat/vendor_init.te @@ -9,6 +9,7 @@ set_prop(vendor_init, vendor_mtk_radio_prop) set_prop(vendor_init, vendor_mtk_ril_mode_prop) set_prop(vendor_init, vendor_mtk_wmt_prop) set_prop(vendor_init, vendor_mtk_coredump_prop) +set_prop(vendor_init, vendor_mtk_atm_mdmode_prop) allow vendor_init proc_wmtdbg:file w_file_perms; allow vendor_init proc_cpufreq:file w_file_perms; allow vendor_init proc_bootprof:file w_file_perms;