diff --git a/public/radio.te b/public/radio.te index 591c3bc0311bbc4956cd84e38175b045e94da3d3..b2a878e1928ba56c24f2dfc171fc14e9ebadc83e 100644 --- a/public/radio.te +++ b/public/radio.te @@ -36,3 +36,7 @@ allow radio radio_service:service_manager { add find }; allow radio surfaceflinger_service:service_manager find; allow radio app_api_service:service_manager find; allow radio system_api_service:service_manager find; + +# Allow access to hwservicemanager for binderized hal +binder_call(radio, hwservicemanager) +binder_call(radio, rild) \ No newline at end of file diff --git a/public/rild.te b/public/rild.te index bc6d6293d8b04d50ed6e2f477a8d2d9c2d2875ed..687118232cb071bb4877c8f4b7e970e0509e1b81 100644 --- a/public/rild.te +++ b/public/rild.te @@ -50,3 +50,7 @@ r_dir_file(rild, system_file) # granting the ioctl permission for rild should be device specific allow rild self:socket create_socket_perms_no_ioctl; + +# Allow access to hwservicemanager for binderized hal +binder_call(rild, hwservicemanager) +binder_call(rild, radio)