From ee3287231f667b4ebbfa6f9f0dd42c094cb27bbc Mon Sep 17 00:00:00 2001 From: Adam Shih Date: Fri, 29 Oct 2021 10:12:28 +0800 Subject: [PATCH] fix hal_usb_impl service access Bug: 202906786 Test: boot with no relevant error Change-Id: I99178488a97aa2d0b3d7e4775c88b00321084d63 --- tracking_denials/hal_usb_impl.te | 8 -------- whitechapel_pro/hal_usb_impl.te | 2 ++ 2 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 tracking_denials/hal_usb_impl.te diff --git a/tracking_denials/hal_usb_impl.te b/tracking_denials/hal_usb_impl.te deleted file mode 100644 index df0efbdb..00000000 --- a/tracking_denials/hal_usb_impl.te +++ /dev/null @@ -1,8 +0,0 @@ -# b/202906786 -dontaudit hal_usb_impl configfs:lnk_file { create }; -dontaudit hal_usb_impl configfs:lnk_file { read }; -dontaudit hal_usb_impl hal_usb_gadget_hwservice:hwservice_manager { add }; -dontaudit hal_usb_impl hal_usb_gadget_hwservice:hwservice_manager { find }; -dontaudit hal_usb_impl hal_usb_hwservice:hwservice_manager { add }; -dontaudit hal_usb_impl hal_usb_hwservice:hwservice_manager { find }; -dontaudit hal_usb_impl hidl_base_hwservice:hwservice_manager { add }; diff --git a/whitechapel_pro/hal_usb_impl.te b/whitechapel_pro/hal_usb_impl.te index 3caf54a2..52a799ee 100644 --- a/whitechapel_pro/hal_usb_impl.te +++ b/whitechapel_pro/hal_usb_impl.te @@ -2,3 +2,5 @@ type hal_usb_impl, domain; type hal_usb_impl_exec, vendor_file_type, exec_type, file_type; init_daemon_domain(hal_usb_impl) +hal_server_domain(hal_usb_impl, hal_usb) +hal_server_domain(hal_usb_impl, hal_usb_gadget)