Skip to content
Snippets Groups Projects
Commit b2d0d4a5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "[gpuservice] allow "adb shell cmd gpu vkjson""

parents c1ab4aef ff0f79c1
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,9 @@ hwbinder_use(gpuservice) ...@@ -22,6 +22,9 @@ hwbinder_use(gpuservice)
allow gpuservice graphics_device:dir search; allow gpuservice graphics_device:dir search;
allow gpuservice graphics_device:chr_file rw_file_perms; allow gpuservice graphics_device:chr_file rw_file_perms;
# Needed for dumpsys pipes.
allow gpuservice shell:fifo_file write;
# Use socket supplied by adbd, for cmd gpu vkjson etc. # Use socket supplied by adbd, for cmd gpu vkjson etc.
allow gpuservice adbd:unix_stream_socket { read write getattr }; allow gpuservice adbd:unix_stream_socket { read write getattr };
......
...@@ -55,6 +55,9 @@ allow shell perfetto_traces_data_file:file r_file_perms; ...@@ -55,6 +55,9 @@ allow shell perfetto_traces_data_file:file r_file_perms;
# Allow shell-based "dumpsys" to call into bufferhubd. # Allow shell-based "dumpsys" to call into bufferhubd.
binder_call(shell, bufferhubd); binder_call(shell, bufferhubd);
# Allow shell to run adb shell cmd gpu commands.
binder_call(shell, gpuservice);
# Allow shell to use atrace HAL # Allow shell to use atrace HAL
hal_client_domain(shell, hal_atrace) hal_client_domain(shell, hal_atrace)
......
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