[ALPS04329540] ccci: add sepolicy rule for ccci_mdinit

add a init.svc.aee_aedv sepolicy rule.

MTK-Commit-Id: 6777d53c3d3fa914fbf1aefe999eb90db6300e45

Change-Id: I7acfe0fe761b63c6560dffc083162157832aa6a7
CR-Id: ALPS04329540
Feature: Modem Interface Driver
(cherry picked from commit 1e62fd097cee1270807f1e807feecbf313dac750)
This commit is contained in:
xin xu 2020-01-18 10:18:29 +08:00 committed by Chao Song
parent 31b3320d92
commit 9a17313658
3 changed files with 4 additions and 1 deletions

View File

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

View File

@ -5,6 +5,7 @@ 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
init.svc.aee_aedv u:object_r:init_svc_aee_aedv_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

View File

@ -5,4 +5,5 @@ 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;
type init_svc_emdlogger1_prop, property_type;
type init_svc_aee_aedv_prop, property_type;