diff options
author | Davide Garberi <dade.garberi@gmail.com> | 2019-03-02 13:23:14 +0100 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2019-03-02 13:56:05 +0100 |
commit | 95f4617bec43046ca6d418b606175978eea22be2 (patch) | |
tree | b9706466e41c6c85131d25696b7f7abf74c763ab /sepolicy/file_contexts | |
parent | 56a0d4e8bca5cb53407e9d615ed5566e87f34c2b (diff) |
msm8996-common: Set the hardware wlan mac using wcg_mac_tool
* Bin extracted from ZUI
* Add init.wlan.sh to check if the mac address in wlan_mac.bin is already correct, if not correct it
* Run both the bins on boot completed as wcg can't run earlier
* Label both the bins and address their denials
Change-Id: I7a8001465ec9c3d69bd228efa57dddfdd8e3c6f3
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r-- | sepolicy/file_contexts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index f4b765f..12e3edd 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -1,6 +1,10 @@ # Partitions /dev/block/platform/soc/(624000\.ufshc|7464900\.sdhci)/by-name/persist u:object_r:persist_block_device:s0 +# Binaries +/vendor/bin/wcg_mac_tool u:object_r:wcg_mac_exec:s0 +/vendor/bin/init.wlan.sh u:object_r:qti_init_shell_exec:s0 + # Devices /dev/fpc1020 u:object_r:fpc1020_device:s0 /dev/tfa9890 u:object_r:audio_device:s0 |