Bo Ye 4e5abd9e9a [ALPS03885471] Remove ATM policies from system app
System APP cannot set vendor property, and these
    polices is not used. Just remove these policies.

MTK-Commit-Id: 0805ff18c4d4f90b2e9d2fdb97e1eff810ae5096

Change-Id: Ib07ef6d587d688246884fff6505434b7b7bc708c
CR-Id: ALPS03885471
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 09:57:12 +08:00

32 lines
1007 B
Plaintext

# ==============================================
# MTK Policy Rule
# ==============================================
typeattribute system_app mlstrustedsubject;
# Date : 2017/07/21
# Purpose :[CdsInfo] read/ write WI-FI MAC address by NVRAM API
# Package Name: com.mediatek.connectivity
hal_client_domain(system_app, hal_nvramagent);
hal_client_domain(system_app, mtk_hal_lbs)
#Dat: 2017/02/14
#Purpose: allow set telephony Sensitive property
typeattribute system_app system_writes_vendor_properties_violators;
set_prop(system_app, mtk_telephony_sensitive_prop)
# Date : WK17.12
# 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
# Purpose : CAT need copy exception db file from data folder
# Package: CAT tool
allow system_app aee_exp_data_file:file r_file_perms;
allow system_app aee_exp_data_file:dir r_dir_perms;