[ALPS04083174] EM telephony RF reset - selinux

Add the selinux support

MTK-Commit-Id: 31d37971bece408a6fa08d20009db9bb9bb94346

Change-Id: I7d965a3cd40e8526317596c188fb07acdb37b0f8
CR-Id: ALPS04083174
Feature: Engineering Mode
This commit is contained in:
dengwei.xu 2020-01-18 10:06:50 +08:00 committed by Yuhui Zhang
parent 7be7112f25
commit dbd6c0abd4
3 changed files with 12 additions and 0 deletions

View File

@ -182,6 +182,9 @@ type mtk_telecom_vibrate, property_type, extended_core_property_type;
#=============allow em to set gprs attach type property================ #=============allow em to set gprs attach type property================
type mtk_gprs_attach_type, property_type, extended_core_property_type; type mtk_gprs_attach_type, property_type, extended_core_property_type;
#=============allow em to set poweroffmd property================
type mtk_power_off_md_type, property_type, extended_core_property_type;
#=============allow meta_tst to stop specific service =============== #=============allow meta_tst to stop specific service ===============
type ctl_mobile_log_d_prop, property_type; type ctl_mobile_log_d_prop, property_type;
type ctl_mnld_prop, property_type; type ctl_mnld_prop, property_type;

View File

@ -179,6 +179,11 @@ persist.vendor.radio.telecom.vibrate u:object_r:mtk_telecom_vibrate:s0
#=============allow em to set gprs attach type property================ #=============allow em to set gprs attach type property================
persist.vendor.radio.gprs.attach.type u:object_r:mtk_gprs_attach_type:s0 persist.vendor.radio.gprs.attach.type u:object_r:mtk_gprs_attach_type:s0
#=============allow em to set poweroffmd property================
vendor.ril.test.poweroffmd u:object_r:mtk_power_off_md_type:s0
vendor.ril.testmode u:object_r:mtk_power_off_md_type:s0
#=============allow system server to set meta_connecttype property ============== #=============allow system server to set meta_connecttype property ==============
persist.vendor.meta.connecttype u:object_r:meta_connecttype_prop:s0 persist.vendor.meta.connecttype u:object_r:meta_connecttype_prop:s0

View File

@ -208,4 +208,8 @@ set_prop(radio, mtk_gprs_attach_type)
binder_call(radio, lbs_hidl_service) binder_call(radio, lbs_hidl_service)
allow radio mtk_hal_lbs_hwservice:hwservice_manager find; allow radio mtk_hal_lbs_hwservice:hwservice_manager find;
# Date : 2018/08/12
# Purpose : Allow EM to set poweroffmd property
set_prop(radio, mtk_power_off_md_type)
get_prop(radio, persist_mtk_aeev_prop); get_prop(radio, persist_mtk_aeev_prop);