From ad7720ff998d151b2dea17f36dd76b70c6bc2149 Mon Sep 17 00:00:00 2001 From: Denis Hsu Date: Sat, 18 Jan 2020 09:55:06 +0800 Subject: [PATCH] [ALPS03841839] Fix update wifi MAC in engineer mode [Detail] The function was blocked by selinux violation. [Solution] allow nvram_agent_binder mnt_vendor_file:dir search; MTK-Commit-Id: fcafa58e058948d5b8e5244a5a1d06cf88d1e12c Change-Id: I05a7809fdb7b5daf2890116e4591793c1c9c3dcc CR-Id: ALPS03841839 Feature: NVRAM Partition --- non_plat/nvram_agent_binder.te | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/non_plat/nvram_agent_binder.te b/non_plat/nvram_agent_binder.te index 37a752d..a26c372 100644 --- a/non_plat/nvram_agent_binder.te +++ b/non_plat/nvram_agent_binder.te @@ -71,3 +71,9 @@ hal_server_domain(nvram_agent_binder, hal_nvramagent) # Operation: P migration # Purpose: Allow nvram_daemon to get tel_switch_prop get_prop(nvram_daemon, tel_switch_prop) + +# Date : WK18.21 +# Operation: P migration +# Purpose: Allow to search /mnt/vendor/nvdata when using nvram function +allow nvram_agent_binder mnt_vendor_file:dir search; +