Merge "Allow permissions needed for gdb debugging"
This commit is contained in:
commit
ecf787e85f
2 changed files with 5 additions and 1 deletions
|
@ -14,4 +14,4 @@ allow runas_app app_data_file:file execute_no_trans;
|
|||
r_dir_file(runas_app, untrusted_app_all)
|
||||
|
||||
# Allow lldb/ndk-gdb/simpleperf to ptrace attach to debuggable app processes.
|
||||
allow runas_app untrusted_app_all:process ptrace;
|
||||
allow runas_app untrusted_app_all:process { ptrace signal sigstop };
|
||||
|
|
|
@ -112,6 +112,10 @@ allow untrusted_app_all self:process ptrace;
|
|||
# b/123297648
|
||||
allow untrusted_app_all runas_app:unix_stream_socket connectto;
|
||||
|
||||
# Untrusted apps need to be able to send a SIGCHLD to runas_app
|
||||
# when running under a debugger (b/123612207)
|
||||
allow untrusted_app_all runas_app:process sigchld;
|
||||
|
||||
# Cts: HwRngTest
|
||||
allow untrusted_app_all sysfs_hwrandom:dir search;
|
||||
allow untrusted_app_all sysfs_hwrandom:file r_file_perms;
|
||||
|
|
Loading…
Reference in a new issue