[ALPS04872217] ccci: after reboot, world mode id is wrong

add selinux sepolicy for ccci_mdinit.

MTK-Commit-Id: 159e957b1e591199fd6eab7ef0f09a8de47dfcdc

Change-Id: Ie0dbea1df8f655466fc63a4ac1eb1556563d9f16
Signed-off-by: xin xu <xin.xu@mediatek.com>
CR-Id: ALPS04872217
Feature: Modem Interface Driver
(cherry picked from commit 81d022e7e97d55d330e0a7bcf0885b63e2391e7b)
This commit is contained in:
xin xu 2020-01-18 10:22:04 +08:00 committed by Chao Song
parent 37c8952830
commit 6bb6ee6315

View File

@ -107,3 +107,8 @@ allow ccci_mdinit proc_bootprof:file rw_file_perms;
# Purpose: Allow to search /mnt/vendor/nvdata for fstab when using NVM_Init()
allow ccci_mdinit mnt_vendor_file:dir search;
# Purpose : Allow ccci_mdinit call sysenv_get and sysenv_set
allow ccci_mdinit block_device:dir search;
allow ccci_mdinit metadata_file:dir search;
allow ccci_mdinit proc_cmdline:file r_file_perms;
allow ccci_mdinit sysfs_dt_firmware_android:dir search;