[ALPS04001212] EM telephony system write property

Add the system write and system read property selinux rights

MTK-Commit-Id: 432c666c3d1275c3c7d7f0d88b4fcf69650314bf

Change-Id: I835af9bfdf0b0ac039a4b04498b36f3feb791a12
CR-Id: ALPS04001212
Feature: Engineering Mode
This commit is contained in:
dengwei.xu 2020-01-18 10:04:30 +08:00 committed by Dengwei Xu
parent b69f0cbf9c
commit 4f6395a554
3 changed files with 32 additions and 0 deletions

View File

@ -176,6 +176,15 @@ type mtk_venc_h264_showlog_prop, property_type, mtk_core_property_type;
#=============allow em to set modem warning_prop property================ #=============allow em to set modem warning_prop property================
type mtk_modem_warning_prop, property_type, mtk_core_property_type; type mtk_modem_warning_prop, property_type, mtk_core_property_type;
#=============allow em to set bgdata disabled property================
type mtk_bgdata_disabled, property_type, mtk_core_property_type;
#=============allow em to set telecom vibrate property================
type mtk_telecom_vibrate, property_type, mtk_core_property_type;
#=============allow em to set gprs attach type property================
type mtk_gprs_attach_type, property_type, mtk_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

@ -172,6 +172,14 @@ vendor.mtk.venc.h264.showlog u:object_r:mtk_venc_h264_showlog_prop:s0
#=============allow em to set modem warning property================ #=============allow em to set modem warning property================
persist.vendor.radio.modem.warning u:object_r:mtk_modem_warning_prop:s0 persist.vendor.radio.modem.warning u:object_r:mtk_modem_warning_prop:s0
#=============allow em to set bgdata disabled property================
persist.vendor.radio.bgdata.disabled u:object_r:mtk_bgdata_disabled:s0
#=============allow em to set telecom vibrate property================
persist.vendor.radio.telecom.vibrate u:object_r:mtk_telecom_vibrate:s0
#=============allow em to set gprs attach type property================
persist.vendor.radio.gprs.attach.type u:object_r:mtk_gprs_attach_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

@ -197,3 +197,18 @@ set_prop(radio, vendor_sim_system_prop)
# Date : 2018/07/03 # Date : 2018/07/03
# Purpose : Allow Mwi to get vendor default properties (ro.vendor.*) # Purpose : Allow Mwi to get vendor default properties (ro.vendor.*)
get_prop(radio, vendor_default_prop) get_prop(radio, vendor_default_prop)
# Operation : DEBUG
# Purpose : Allow to use mtk_bgdata_disabled
set_prop(radio, mtk_bgdata_disabled)
# Date : 2018/07/03
# Operation : DEBUG
# Purpose : Allow to use mtk_telecom_vibrate
set_prop(radio, mtk_telecom_vibrate)
# Date : 2018/07/03
# Operation : DEBUG
# Purpose : Allow to use mtk_gprs_attach_type
set_prop(radio, mtk_gprs_attach_type)