Skip to content
Snippets Groups Projects
Commit 26ce8388 authored by Steven Moreland's avatar Steven Moreland
Browse files

Revert "Remove unnecessary adbd permissions."

This reverts commit 97848f05.

Reason for revert: b/37218817

Change-Id: I3280be8873d60d66852b4f01f4af4eeaee6b5502
parent 97848f05
No related branches found
No related tags found
No related merge requests found
...@@ -63,6 +63,15 @@ get_prop(adbd, serialno_prop) ...@@ -63,6 +63,15 @@ get_prop(adbd, serialno_prop)
# Run /system/bin/bu # Run /system/bin/bu
allow adbd system_file:file rx_file_perms; allow adbd system_file:file rx_file_perms;
# Perform binder IPC to surfaceflinger (screencap)
# XXX Run screencap in a separate domain?
binder_use(adbd)
binder_call(adbd, surfaceflinger)
# b/13188914
allow adbd gpu_device:chr_file rw_file_perms;
allow adbd ion_device:chr_file rw_file_perms;
r_dir_file(adbd, system_file)
# Needed for various screenshots # Needed for various screenshots
hal_client_domain(adbd, hal_graphics_allocator) hal_client_domain(adbd, hal_graphics_allocator)
......
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