[ALPS04013134] CCCI:fix android p selinux issue v2

[Detail]
fix code defect to avoid vts fail

MTK-Commit-Id: 8910b5c642fd4ebb0910eda3f6b49c38f91f4483

Change-Id: I95cd0a11b4bc9d8145b7017ffbf4b171751ef32c
Signed-off-by: mtk13858 <derong.liu@mediatek.com>
CR-Id: ALPS04013134
Feature: Modem Interface Driver
This commit is contained in:
mtk13858 2020-01-18 10:04:57 +08:00 committed by Derong Liu
parent b189b5f35a
commit d7105292b6
5 changed files with 5 additions and 5 deletions

View File

@ -46,6 +46,7 @@ set_prop(ccci_mdinit, ctl_ccci2_fsd_prop)
set_prop(ccci_mdinit, ctl_ccci3_fsd_prop) set_prop(ccci_mdinit, ctl_ccci3_fsd_prop)
get_prop(ccci_mdinit, vendor_default_prop) get_prop(ccci_mdinit, vendor_default_prop)
get_prop(ccci_mdinit, init_svc_emdlogger1_prop)
allow ccci_mdinit ccci_device:chr_file rw_file_perms; allow ccci_mdinit ccci_device:chr_file rw_file_perms;
allow ccci_mdinit ccci_monitor_device:chr_file rw_file_perms; allow ccci_mdinit ccci_monitor_device:chr_file rw_file_perms;

View File

@ -17,9 +17,6 @@ type ctl_gsm0710muxd_prop, property_type;
type ctl_gsm0710muxd-s_prop, property_type; type ctl_gsm0710muxd-s_prop, property_type;
type ctl_gsm0710muxd-d_prop, property_type; type ctl_gsm0710muxd-d_prop, property_type;
#=============allow ccci_mdinit to start emdlogger==============
type init_svc_emdlogger1_prop, property_type, mtk_core_property_type;
#=============allow viarild to start property============== #=============allow viarild to start property==============
type ctl_viarild_prop, property_type; type ctl_viarild_prop, property_type;
#=============allow mtkrild to set persist.ril property============== #=============allow mtkrild to set persist.ril property==============

View File

@ -55,8 +55,6 @@ ctl.vendor.ccci_fsd u:object_r:ctl_ccci_fsd_prop:s0
ctl.vendor.ccci2_fsd u:object_r:ctl_ccci2_fsd_prop:s0 ctl.vendor.ccci2_fsd u:object_r:ctl_ccci2_fsd_prop:s0
ctl.vendor.ccci3_fsd u:object_r:ctl_ccci3_fsd_prop:s0 ctl.vendor.ccci3_fsd u:object_r:ctl_ccci3_fsd_prop:s0
init.svc.emdlogger1 u:object_r:init_svc_emdlogger1_prop:s0
vendor.ril.active.md u:object_r:ril_active_md_prop:s0 vendor.ril.active.md u:object_r:ril_active_md_prop:s0
vendor.ril.mux.report.case u:object_r:ril_mux_report_case_prop:s0 vendor.ril.mux.report.case u:object_r:ril_mux_report_case_prop:s0
vendor.ril.cdma.report u:object_r:ril_cdma_report_prop:s0 vendor.ril.cdma.report u:object_r:ril_cdma_report_prop:s0

View File

@ -4,5 +4,7 @@ ctl.emdlogger1 u:object_r:ctl_emdlogger1_prop:s0
ctl.emdlogger2 u:object_r:ctl_emdlogger2_prop:s0 ctl.emdlogger2 u:object_r:ctl_emdlogger2_prop:s0
ctl.emdlogger3 u:object_r:ctl_emdlogger3_prop:s0 ctl.emdlogger3 u:object_r:ctl_emdlogger3_prop:s0
init.svc.emdlogger1 u:object_r:init_svc_emdlogger1_prop:s0
#allow mtk audio hidl service to read "ro.audio.usb.period_us" #allow mtk audio hidl service to read "ro.audio.usb.period_us"
ro.audio.usb.period_us u:object_r:exported_default_prop:s0 exact int ro.audio.usb.period_us u:object_r:exported_default_prop:s0 exact int

View File

@ -4,3 +4,5 @@ type ctl_emdlogger1_prop, property_type;
type ctl_emdlogger2_prop, property_type; type ctl_emdlogger2_prop, property_type;
type ctl_emdlogger3_prop, property_type; type ctl_emdlogger3_prop, property_type;
type ctl_dualmdlogger_prop, property_type; type ctl_dualmdlogger_prop, property_type;
type init_svc_emdlogger1_prop, property_type;