diff options
author | xin xu <xin.xu@mediatek.com> | 2019-09-10 19:47:50 +0800 |
---|---|---|
committer | Chao Song <chao.song@mediatek.com> | 2019-11-14 17:27:43 +0800 |
commit | 159e957b1e591199fd6eab7ef0f09a8de47dfcdc (patch) | |
tree | 08d7503029924c8fc6ae7dc02f1852e7e8eec4e7 /non_plat | |
parent | f40908497f08881a147016a60bf9f826a43f3ddc (diff) | |
download | device_mediatek_wembley-sepolicy-159e957b1e591199fd6eab7ef0f09a8de47dfcdc.tar.gz device_mediatek_wembley-sepolicy-159e957b1e591199fd6eab7ef0f09a8de47dfcdc.tar.bz2 device_mediatek_wembley-sepolicy-159e957b1e591199fd6eab7ef0f09a8de47dfcdc.zip |
[ALPS04872217] ccci: after reboot, world mode id is wrong
add selinux sepolicy for ccci_mdinit.
Change-Id: Ie0dbea1df8f655466fc63a4ac1eb1556563d9f16
Signed-off-by: xin xu <xin.xu@mediatek.com>
CR-Id: ALPS04872217
Feature: Modem Interface Driver
(cherry picked from commit 81d022e7e97d55d330e0a7bcf0885b63e2391e7b)
Diffstat (limited to 'non_plat')
-rw-r--r-- | non_plat/ccci_mdinit.te | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/non_plat/ccci_mdinit.te b/non_plat/ccci_mdinit.te index 3245459..6617aab 100644 --- a/non_plat/ccci_mdinit.te +++ b/non_plat/ccci_mdinit.te @@ -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; |