[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
This commit is contained in:
Denis Hsu 2020-01-18 09:55:06 +08:00
parent 0d61a38231
commit ad7720ff99

View File

@ -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;