am c21e9cc1
: Merge "Allow debuggerd to redirect requests."
* commit 'c21e9cc1fc6ef69cdca1829e7a78cb68badd631f': Allow debuggerd to redirect requests.
This commit is contained in:
commit
a48dd6c107
2 changed files with 4 additions and 3 deletions
|
@ -22,6 +22,10 @@ allow debuggerd domain:process { sigstop signal };
|
|||
allow debuggerd exec_type:file r_file_perms;
|
||||
# Access app library
|
||||
allow debuggerd system_data_file:file open;
|
||||
# Allow debuggerd to redirect a dump_backtrace request to itself.
|
||||
# This only happens on 64 bit systems, where all requests go to the 64 bit
|
||||
# debuggerd and get redirected to the 32 bit debuggerd if the process is 32 bit.
|
||||
allow debuggerd { drmserver mediaserver sdcardd surfaceflinger inputflinger }:debuggerd dump_backtrace;
|
||||
|
||||
# Connect to system_server via /data/system/ndebugsocket.
|
||||
unix_socket_connect(debuggerd, system_ndebug, system_server)
|
||||
|
|
|
@ -104,9 +104,6 @@ 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;
|
||||
|
||||
allow dumpstate {
|
||||
drmserver_service
|
||||
healthd_service
|
||||
|
|
Loading…
Reference in a new issue