[ALPS04004689] CCCI:update sepolicy for mdlpm

[Detail]
when ccci_fsd create mdlpm,sepolicy issue happen

[Solution]
add sysfs_mmcblk&vendor_data_file permission
to solve sepolicy issue

MTK-Commit-Id: 874b0398d34d3186af1e2e496480c5f74797fdb0

Change-Id: I84681b5d372580fc31baad10cfa43ae4804b6e9c
Signed-off-by: mtk13858 <derong.liu@mediatek.com>
CR-Id: ALPS04004689
Feature: Modem Interface Driver
(cherry picked from commit 6eb34cdbba937a22bbce794d932d3cbc99f56729)
(cherry picked from commit 702f6a7ad67b2b89d5a884a03a1abf92b990ef22)
This commit is contained in:
mtk13858 2020-01-18 10:06:29 +08:00 committed by Peng Zhou
parent bfdf1302fa
commit eec29a36bc

View File

@ -61,3 +61,9 @@ allow ccci_fsd mnt_vendor_file:dir search;
# Purpose: for fstab parser
allow ccci_fsd kmsg_device:chr_file w_file_perms;
allow ccci_fsd proc_lk_env:file rw_file_perms;
#============= ccci_fsd MD Low Power Monitor Related ==============
allow ccci_fsd vendor_data_file:dir create_dir_perms;
allow ccci_fsd vendor_data_file:file create_file_perms;
allow ccci_fsd sysfs_mmcblk:dir search;
allow ccci_fsd sysfs_mmcblk:file { read getattr open };