[ALPS04025575] EM hidl read nvdata under vendor

[Detail]
Allow EM hidl read nvdata file from vendor partation for mcf

MTK-Commit-Id: de6eae8eba122bb2349bf41150bac5e3d51fe759

Change-Id: Ibeb702605aad62295dcc60289302ac407b8d2e0b
CR-Id:ALPS04025575
Feature:Engineering Mode
This commit is contained in:
mtk14723 2020-01-18 10:05:18 +08:00 committed by Dengwei Xu
parent ea6f9e0d1c
commit 97baef43ca

View File

@ -101,3 +101,13 @@ set_prop(em_hidl, vendor_em_usb_prop)
# Operation : EM DEBUG
# Purpose: for setting usb otg enable property
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 };
# Data : 2018/07/06
# Purpose : EM MCF search vendor dir
allow em_hidl mnt_vendor_file:dir search;