Allow uwb HAL client/server to talk to service manager
Denial logs:
08-27 21:43:18.716 801 801 W android.hardwar: type=1400 audit(0.0:4): avc:
denied { call } for scontext=u:r:hal_uwb_default:s0 tcontext=u:r:servicemanager:s0
tclass=binder permissive=0
Bug: 195308730
Test: Bootup default UWB HAL implementation on cuttlefish & verify UCI stack
can talk to the HAL.
Change-Id: I493af52513fd5b8f89d1375f80226ffa10c34f48
diff --git a/public/hal_uwb.te b/public/hal_uwb.te
index 17b1f30..dc334fc 100644
--- a/public/hal_uwb.te
+++ b/public/hal_uwb.te
@@ -4,3 +4,5 @@
hal_attribute_service(hal_uwb, hal_uwb_service)
+binder_call(hal_uwb_server, servicemanager)
+binder_call(hal_uwb_client, servicemanager)