[ALPS04359407] EM: modify sepolicy from nvdata to nvcfg

[Detail]
Modify sepolicy of emhidl from nvdata to nvcfg
for MCF to access nvcfg

MTK-Commit-Id: 1027f0b3abdbca6457c0a20af765d063ea2f9a78

Change-Id: I95bde16e2910fb37d2f9ffc5a0f29f8fb618ec64
CR-Id: ALPS04359407
Feature: Engineering Mode
This commit is contained in:
mtk14723 2020-01-18 10:20:55 +08:00 committed by Dengwei Xu
parent 69fa27667a
commit 979f4465f3

View File

@ -99,8 +99,8 @@ set_prop(em_hidl, vendor_usb_otg_switch)
# Data : 2018/07/06
# Purpose : EM MCF read nvdata dir and file
allow em_hidl nvdata_file:dir { read open add_name search getattr};
allow em_hidl nvdata_file:file { getattr read open };
allow em_hidl nvcfg_file:dir ra_dir_perms;
allow em_hidl nvcfg_file:file r_file_perms;
# Data : 2018/07/06
# Purpose : EM MCF search vendor dir