Skip to content
Snippets Groups Projects
Commit e7d13673 authored by Christopher Ferris's avatar Christopher Ferris
Browse files

Allow dumpstate to read /system/bin executables.

On 64 bit systems, it's necessary to read the /system/bin executables
elf header to determine if it's a 32 bit or 64 bit executable to
contact the correct debuggerd service.

Bug: 17487122

(cherry picked from commit 04f3d790)

Change-Id: Ib7835ffac1811a5aef54a250689287c1666720ef
parent 089d5fb7
No related branches found
No related tags found
No related merge requests found
......@@ -103,6 +103,9 @@ allow dumpstate net_data_file:file r_file_perms;
allow dumpstate tombstone_data_file:dir r_dir_perms;
allow dumpstate tombstone_data_file:file r_file_perms;
# Access /system/bin executables to determine type of executable.
allow dumpstate {drmserver_exec mediaserver_exec sdcardd_exec surfaceflinger_exec}:file r_file_perms;
service_manager_local_audit_domain(dumpstate)
auditallow dumpstate {
service_manager_type
......
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