From 2bb5e6af4ab471e62e2523044aa68506a3588b01 Mon Sep 17 00:00:00 2001 From: "jerry-sc.wu" Date: Sat, 18 Jan 2020 10:01:37 +0800 Subject: [PATCH] [ALPS03867358] Thermal: P Migration [Detail] Resolve build warning. Fix "neverallow coredomain from writing vendor properties". MTK-Commit-Id: 41ae21ce71a19a8a1abce51e33ab93b66e4fa793 Change-Id: I85f9091cbddd1503579b69b4e3b14e63a7eb2dcc CR-Id: ALPS03867358 Feature: Thermal Management Signed-off-by: jerry-sc.wu --- non_plat/cameraserver.te | 2 +- non_plat/mediaserver.te | 2 +- non_plat/system_app.te | 2 +- non_plat/system_server.te | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/non_plat/cameraserver.te b/non_plat/cameraserver.te index af010d1..da52a42 100644 --- a/non_plat/cameraserver.te +++ b/non_plat/cameraserver.te @@ -376,7 +376,7 @@ allow cameraserver mtk_cmdq_device:chr_file { read ioctl open }; # Purpose : Change thermal config typeattribute cameraserver system_writes_vendor_properties_violators; allow cameraserver mtk_thermal_config_prop:file { getattr open read }; -allow cameraserver mtk_thermal_config_prop:property_service set; + # Date : WK17.44 # Operation : Migration diff --git a/non_plat/mediaserver.te b/non_plat/mediaserver.te index d590391..1d88261 100644 --- a/non_plat/mediaserver.te +++ b/non_plat/mediaserver.te @@ -351,7 +351,7 @@ allow mediaserver mtk_cmdq_device:chr_file { read ioctl open }; # Purpose : Change thermal config typeattribute mediaserver system_writes_vendor_properties_violators; allow mediaserver mtk_thermal_config_prop:file { getattr open read }; -allow mediaserver mtk_thermal_config_prop:property_service set; + # Date : WK17.43 # Operation : Migration diff --git a/non_plat/system_app.te b/non_plat/system_app.te index 93c4b1d..934df42 100644 --- a/non_plat/system_app.te +++ b/non_plat/system_app.te @@ -21,7 +21,7 @@ get_prop(system_app, mtk_telephony_sensitive_prop) # Operation : MT6799 SQC # Purpose : Change thermal config allow system_app mtk_thermal_config_prop:file { getattr open read }; -allow system_app mtk_thermal_config_prop:property_service set; + # Date : 2017/11/07 # Operation : Migration diff --git a/non_plat/system_server.te b/non_plat/system_server.te index e95f95d..cd0e647 100644 --- a/non_plat/system_server.te +++ b/non_plat/system_server.te @@ -185,7 +185,7 @@ hal_client_domain(system_server, mtk_hal_lbs) # Operation : MT6799 SQC # Purpose : Change thermal config allow system_server mtk_thermal_config_prop:file { getattr open read }; -allow system_server mtk_thermal_config_prop:property_service set; + # Date : WK17.43 # Operation : Migration