From 985baf3ef3d64c347363ef83c75a141c856cf971 Mon Sep 17 00:00:00 2001 From: May Huang Date: Sat, 18 Jan 2020 10:10:55 +0800 Subject: [PATCH] [ALPS04328846] power: remove redundant setting [Detail] remove permission to access su, its redundant setting MTK-Commit-Id: f217e0fd57190661d49f53eeddbc62f481127665 Change-Id: I9dad7652e5ef7e1c8a8343d495f17c478370055a CR-Id: ALPS04328846 Feature: [Module]PowerHAL --- non_plat/mtk_hal_power.te | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/non_plat/mtk_hal_power.te b/non_plat/mtk_hal_power.te index 1f7bfad..48a6062 100644 --- a/non_plat/mtk_hal_power.te +++ b/non_plat/mtk_hal_power.te @@ -84,8 +84,9 @@ set_prop(mtk_hal_power, mtk_thermal_config_prop) # Date : 2018/01/31 # Operation: SQC # Purpose : Allow powerHAL to access /proc/[pid] -allow mtk_hal_power su:dir { search getattr }; -allow mtk_hal_power su:file { read open }; +# 2019/04/24 : redundant setting +# allow mtk_hal_power su:dir { search getattr }; +# allow mtk_hal_power su:file { read open }; # Date : 2018/03/16 # Operation: SQC