diff --git a/non_plat/ccci_mdinit.te b/non_plat/ccci_mdinit.te index c727864..ec87ad5 100644 --- a/non_plat/ccci_mdinit.te +++ b/non_plat/ccci_mdinit.te @@ -98,6 +98,7 @@ allow ccci_mdinit sysfs_ccci:file rw_file_perms; allow ccci_mdinit sysfs_ssw:dir search; allow ccci_mdinit sysfs_ssw:file r_file_perms; allow ccci_mdinit sysfs:file r_file_perms; +allow ccci_mdinit sysfs_boot_mode:file { read open }; # Purpose : Allow ccci_mdinit to open and read/write /proc/bootprof allow ccci_mdinit proc:file rw_file_perms; diff --git a/non_plat/property.te b/non_plat/property.te index bf05872..2b2e315 100644 --- a/non_plat/property.te +++ b/non_plat/property.te @@ -17,6 +17,9 @@ 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 bed1561..bf2ea31 100644 --- a/non_plat/property_contexts +++ b/non_plat/property_contexts @@ -55,6 +55,8 @@ 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