From 8a9b4fde21c37d3c0c68a62915da4aeb317ebb33 Mon Sep 17 00:00:00 2001 From: neoyu Date: Wed, 15 Feb 2023 17:51:33 +0800 Subject: [PATCH] Fix avc denied for hal_radioext_default avc: denied { find } for interface=hardware.google.bluetooth.bt_channel_avoidance::IBTChannelAvoidance sid=u:r:hal_radioext_default:s0 pid=792 scontext=u:r:hal_radioext_default:s0 tcontext=u:object_r:hal_bluetooth_coexistence_hwservice:s0 tclass=hwservice_manager permissive=0 Bug: 269048898 Bug: 269045233 Test: manual Change-Id: Ie5c926a8c22859d1ca2655b1bd91f36201f48285 --- radio/hal_radioext_default.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/radio/hal_radioext_default.te b/radio/hal_radioext_default.te index 671f16fa..bb2473ce 100644 --- a/radio/hal_radioext_default.te +++ b/radio/hal_radioext_default.te @@ -15,3 +15,5 @@ allow hal_radioext_default radio_device:chr_file rw_file_perms; allow hal_radioext_default radio_vendor_data_file:dir create_dir_perms; allow hal_radioext_default radio_vendor_data_file:file create_file_perms; +# Bluetooth +allow hal_radioext_default hal_bluetooth_coexistence_hwservice:hwservice_manager find;