sdm710-common: sepolicy: Allow bluetooth HAL to access WiFi vendor data

Resolves:
avc: denied { search } for name="mac_addr" dev="sda31" ino=6815767 scontext=u:r:hal_bluetooth_qti:s0 tcontext=u:object_r:wifi_vendor_data_file:s0 tclass=dir permissive=0

Signed-off-by: Ivan Vecera <ivan@cera.cz>
Change-Id: Iad4343a09c2466ff0341ab53e1c92e03fa775f73
This commit is contained in:
Ivan Vecera
2022-06-24 14:25:59 +02:00
committed by Sebastiano Barezzi
parent 443acb15f8
commit 9c026b1496

3
sepolicy/vendor/hal_bluetooth_qti.te vendored Normal file
View File

@@ -0,0 +1,3 @@
# Allow access and read WiFi vendor data
allow hal_bluetooth_qti wifi_vendor_data_file:dir search;
allow hal_bluetooth_qti wifi_vendor_data_file:file r_file_perms;