From 97baef43cacd57299eacd69c1dd5c97019aa3e54 Mon Sep 17 00:00:00 2001 From: mtk14723 Date: Sat, 18 Jan 2020 10:05:18 +0800 Subject: [PATCH] [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 --- non_plat/em_hidl.te | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/non_plat/em_hidl.te b/non_plat/em_hidl.te index f00d473..4865981 100644 --- a/non_plat/em_hidl.te +++ b/non_plat/em_hidl.te @@ -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; +