[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 <jerry-sc.wu@mediatek.com>
This commit is contained in:
jerry-sc.wu 2020-01-18 10:01:37 +08:00 committed by Jerry-SC Wu
parent 19669f18b8
commit 2bb5e6af4a
4 changed files with 4 additions and 4 deletions

View File

@ -376,7 +376,7 @@ allow cameraserver mtk_cmdq_device:chr_file { read ioctl open };
# Purpose : Change thermal config # Purpose : Change thermal config
typeattribute cameraserver system_writes_vendor_properties_violators; typeattribute cameraserver system_writes_vendor_properties_violators;
allow cameraserver mtk_thermal_config_prop:file { getattr open read }; allow cameraserver mtk_thermal_config_prop:file { getattr open read };
allow cameraserver mtk_thermal_config_prop:property_service set;
# Date : WK17.44 # Date : WK17.44
# Operation : Migration # Operation : Migration

View File

@ -351,7 +351,7 @@ allow mediaserver mtk_cmdq_device:chr_file { read ioctl open };
# Purpose : Change thermal config # Purpose : Change thermal config
typeattribute mediaserver system_writes_vendor_properties_violators; typeattribute mediaserver system_writes_vendor_properties_violators;
allow mediaserver mtk_thermal_config_prop:file { getattr open read }; allow mediaserver mtk_thermal_config_prop:file { getattr open read };
allow mediaserver mtk_thermal_config_prop:property_service set;
# Date : WK17.43 # Date : WK17.43
# Operation : Migration # Operation : Migration

View File

@ -21,7 +21,7 @@ get_prop(system_app, mtk_telephony_sensitive_prop)
# Operation : MT6799 SQC # Operation : MT6799 SQC
# Purpose : Change thermal config # Purpose : Change thermal config
allow system_app mtk_thermal_config_prop:file { getattr open read }; 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 # Date : 2017/11/07
# Operation : Migration # Operation : Migration

View File

@ -185,7 +185,7 @@ hal_client_domain(system_server, mtk_hal_lbs)
# Operation : MT6799 SQC # Operation : MT6799 SQC
# Purpose : Change thermal config # Purpose : Change thermal config
allow system_server mtk_thermal_config_prop:file { getattr open read }; allow system_server mtk_thermal_config_prop:file { getattr open read };
allow system_server mtk_thermal_config_prop:property_service set;
# Date : WK17.43 # Date : WK17.43
# Operation : Migration # Operation : Migration