From 979f4465f3e8d805fc2b142f92d143f1753e1ff5 Mon Sep 17 00:00:00 2001 From: mtk14723 Date: Sat, 18 Jan 2020 10:20:55 +0800 Subject: [PATCH] [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 --- non_plat/em_hidl.te | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/non_plat/em_hidl.te b/non_plat/em_hidl.te index fcf6abf..0942d3d 100644 --- a/non_plat/em_hidl.te +++ b/non_plat/em_hidl.te @@ -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