Skip to content
Snippets Groups Projects
Commit d6ceae5a authored by Martijn Coenen's avatar Martijn Coenen Committed by android-build-merger
Browse files

Give apps, cameraserver, and system_server access to sync fences.

am: de2e79c5

Change-Id: Icc632129142cba968ca05206690adfef445f62c7
parents d5c8c6b6 de2e79c5
No related branches found
No related tags found
No related merge requests found
......@@ -177,6 +177,9 @@ binder_call(appdomain, ephemeral_app)
# TODO(b/34454312): only allow getting and talking to mediacodec service
hwbinder_use(appdomain)
# Talk with graphics composer fences
allow appdomain hal_graphics_composer:fd use;
# Already connected, unnamed sockets being passed over some other IPC
# hence no sock_file or connectto permission. This appears to be how
# Chrome works, may need to be updated as more apps using isolated services
......
......@@ -199,6 +199,9 @@ hal_client_domain(system_server, hal_wifi)
hal_client_domain(system_server, hal_wifi_supplicant)
# Talk with graphics composer fences
allow system_server hal_graphics_composer:fd use;
# Talk to tombstoned to get ANR traces.
unix_socket_connect(system_server, tombstoned_intercept, tombstoned)
......
......@@ -14,6 +14,9 @@ hal_client_domain(cameraserver, hal_graphics_allocator)
allow cameraserver ion_device:chr_file rw_file_perms;
# Talk with graphics composer fences
allow cameraserver hal_graphics_composer:fd use;
add_service(cameraserver, cameraserver_service)
allow cameraserver appops_service:service_manager find;
allow cameraserver audioserver_service:service_manager find;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment