From 9c026b1496a9e7f627ac0d2e7184d5a3cbf5132a Mon Sep 17 00:00:00 2001 From: Ivan Vecera Date: Fri, 24 Jun 2022 14:25:59 +0200 Subject: [PATCH] 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 Change-Id: Iad4343a09c2466ff0341ab53e1c92e03fa775f73 --- sepolicy/vendor/hal_bluetooth_qti.te | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 sepolicy/vendor/hal_bluetooth_qti.te diff --git a/sepolicy/vendor/hal_bluetooth_qti.te b/sepolicy/vendor/hal_bluetooth_qti.te new file mode 100644 index 0000000..f234e15 --- /dev/null +++ b/sepolicy/vendor/hal_bluetooth_qti.te @@ -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;