diff --git a/non_plat/ccci_mdinit.te b/non_plat/ccci_mdinit.te index ec87ad5..cd9cd9b 100644 --- a/non_plat/ccci_mdinit.te +++ b/non_plat/ccci_mdinit.te @@ -46,6 +46,7 @@ set_prop(ccci_mdinit, ctl_ccci2_fsd_prop) set_prop(ccci_mdinit, ctl_ccci3_fsd_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_monitor_device:chr_file rw_file_perms; diff --git a/non_plat/property.te b/non_plat/property.te index 2b2e315..bf05872 100644 --- a/non_plat/property.te +++ b/non_plat/property.te @@ -17,9 +17,6 @@ type ctl_gsm0710muxd_prop, property_type; type ctl_gsm0710muxd-s_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============== type ctl_viarild_prop, property_type; #=============allow mtkrild to set persist.ril property============== diff --git a/non_plat/property_contexts b/non_plat/property_contexts index bf2ea31..bed1561 100644 --- a/non_plat/property_contexts +++ b/non_plat/property_contexts @@ -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.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.mux.report.case u:object_r:ril_mux_report_case_prop:s0 vendor.ril.cdma.report u:object_r:ril_cdma_report_prop:s0 diff --git a/plat_private/property_contexts b/plat_private/property_contexts index 56e983f..1e76edd 100644 --- a/plat_private/property_contexts +++ b/plat_private/property_contexts @@ -4,5 +4,7 @@ ctl.emdlogger1 u:object_r:ctl_emdlogger1_prop:s0 ctl.emdlogger2 u:object_r:ctl_emdlogger2_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" ro.audio.usb.period_us u:object_r:exported_default_prop:s0 exact int diff --git a/plat_public/property.te b/plat_public/property.te index 7277fe5..ab51d9f 100644 --- a/plat_public/property.te +++ b/plat_public/property.te @@ -4,3 +4,5 @@ type ctl_emdlogger1_prop, property_type; type ctl_emdlogger2_prop, property_type; type ctl_emdlogger3_prop, property_type; type ctl_dualmdlogger_prop, property_type; + +type init_svc_emdlogger1_prop, property_type; \ No newline at end of file