[ALPS03940671] Wlan: add selinux policy in wlan_assistant.te

[Detail]
selinux policy restrict access of /mnt/vendor, application
should add policy for the path

[Solution]
add new policy for /mnt/vendor

MTK-Commit-Id: a02d937c92f815a7e8f785abee7304a2f3f12cf9

Change-Id: I3221d0bcd13374e296c8d4923b4679f4904fb71f
Signed-off-by: Simfex Chiu <simfex.chiu@mediatek.com>
CR-Id: ALPS03940671
Feature: [Module]Wi-Fi HAL
This commit is contained in:
Simfex Chiu 2020-01-18 09:56:20 +08:00
parent 9bfd115a97
commit 1c725d5df8

View File

@ -37,4 +37,6 @@ allow wlan_assistant self:udp_socket { create ioctl };
allow wlan_assistant nvdata_file:dir { search read getattr open }; allow wlan_assistant nvdata_file:dir { search read getattr open };
allow wlan_assistant nvdata_file:file { read getattr open }; allow wlan_assistant nvdata_file:file { read getattr open };
allow wlan_assistant sysfs:file { open read }; allow wlan_assistant sysfs:file { open read };
allow wlan_assistant wmtWifi_device:chr_file { read write getattr open }; allow wlan_assistant wmtWifi_device:chr_file { read write getattr open };
allow wlan_assistant mnt_vendor_file :dir search;