From 559ce8e77771e495c2929c682d7d2741b982eae4 Mon Sep 17 00:00:00 2001 From: "yuhui.zhang" Date: Sat, 18 Jan 2020 10:21:47 +0800 Subject: [PATCH] [ALPS04859964] EM: Add sepolicy to access NVRAM [Detail] Make EM BT functions have right to access NVRAM MTK-Commit-Id: 48b88d77cbc4334a61b5ae0cabcfd296fc3a699d Change-Id: Ib82b72c26068ea8cd09a170d252089885d9c7fb0 CR-Id: ALPS04859964 Feature: Engineering Mode (cherry picked from commit 257e62c385534b7690039f7a8dc9436b8d4d63ef) --- non_plat/em_hidl.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/non_plat/em_hidl.te b/non_plat/em_hidl.te index 0942d3d..eb64f6b 100644 --- a/non_plat/em_hidl.te +++ b/non_plat/em_hidl.te @@ -114,6 +114,8 @@ allow em_hidl sysfs_boot_mode:file { read open }; allow em_hidl ttyGS_device:chr_file { read write ioctl open }; allow em_hidl vendor_usb_prop:file { read getattr open }; set_prop(em_hidl, vendor_usb_prop) +allow em_hidl nvdata_file:file r_file_perms; +allow em_hidl nvdata_file:dir search; # Date : 2018/08/28 # Operation : EM DEBUG