From 0c429efc07e21a3de6e08fc68d47f75eac53ec9c Mon Sep 17 00:00:00 2001 From: Victor Liu Date: Wed, 7 Jul 2021 12:13:48 -0700 Subject: [PATCH] uwb: allow uwb to access the radio service 07-07 18:28:28.391 409 409 E SELinux : avc: denied { find } for pid=4609 uid=1083 name=isub scontext=u:r:uwb_vendor_app:s0:c59,c260,c512,c768 tcontext=u:object_r:radio_service:s0 tclass=service_manager permissive=0 Bug: 192833779 Test: on device, no avc denied message Change-Id: I4a6b778dce6f493093d3a05683473bb60e9cfa5c --- whitechapel/vendor/google/uwb_vendor_app.te | 1 + 1 file changed, 1 insertion(+) diff --git a/whitechapel/vendor/google/uwb_vendor_app.te b/whitechapel/vendor/google/uwb_vendor_app.te index e0a9ebc9..b9e27426 100644 --- a/whitechapel/vendor/google/uwb_vendor_app.te +++ b/whitechapel/vendor/google/uwb_vendor_app.te @@ -10,6 +10,7 @@ hal_client_domain(uwb_vendor_app, hal_uwb) allow uwb_vendor_app app_api_service:service_manager find; allow uwb_vendor_app hal_uwb_service:service_manager find; allow uwb_vendor_app nfc_service:service_manager find; +allow uwb_vendor_app radio_service:service_manager find; allow uwb_vendor_app uwb_vendor_data_file:file create_file_perms; allow uwb_vendor_app uwb_vendor_data_file:dir create_dir_perms;