Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Allow dumpstate to read /system/bin executables.
Browse files Browse the repository at this point in the history
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
Change-Id: Ica78aa54e5abbb051924166c6808b79b516274fe
  • Loading branch information
cferris1000 committed Sep 13, 2014
1 parent 0406189 commit 04f3d79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dumpstate.te
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,6 @@ allow dumpstate net_data_file:file r_file_perms;
# Access /data/tombstones.
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;

0 comments on commit 04f3d79

Please sign in to comment.