diff --git a/service.te b/service.te index 6b5838c5b685f0b15161439a248f89f63b3fff02..c891ca8e04ab1a7d52dd70fe21b380962af5e060 100644 --- a/service.te +++ b/service.te @@ -118,4 +118,5 @@ type webviewupdate_service, app_api_service, system_server_service, service_mana type wifip2p_service, app_api_service, system_server_service, service_manager_type; type wifiscanner_service, system_api_service, system_server_service, service_manager_type; type wifi_service, app_api_service, system_server_service, service_manager_type; +type wificond_service, system_server_service, service_manager_type; type window_service, system_api_service, system_server_service, service_manager_type; diff --git a/service_contexts b/service_contexts index 0ddbdc17136b70a57cdec7935051f148fcefbb62..218cb8f9f5a86d1b999e3dd83d3854be3800ca48 100644 --- a/service_contexts +++ b/service_contexts @@ -143,5 +143,6 @@ webviewupdate u:object_r:webviewupdate_service:s0 wifip2p u:object_r:wifip2p_service:s0 wifiscanner u:object_r:wifiscanner_service:s0 wifi u:object_r:wifi_service:s0 +wificond u:object_r:wificond_service:s0 window u:object_r:window_service:s0 * u:object_r:default_android_service:s0 diff --git a/wificond.te b/wificond.te index 11afffe66179c6a72d602a1f075fe2ef209d9400..edc82e0d5a54457824be813c095787513b37b67c 100644 --- a/wificond.te +++ b/wificond.te @@ -3,3 +3,8 @@ type wificond, domain; type wificond_exec, exec_type, file_type; init_daemon_domain(wificond) + +binder_use(wificond) +binder_call(wificond, system_server) + +allow wificond wificond_service:service_manager { add find };