commit | e21145f6625a7faa939c1ca17fb95285aa245c16 | [log] [tgz] |
---|---|---|
author | Oleksiy Vyalov <ovyalov@google.com> | Tue Jun 21 16:21:37 2016 -0700 |
committer | Oleksiy Vyalov <ovyalov@google.com> | Wed Jun 22 10:58:07 2016 -0700 |
tree | 95daad11c25022af08de4a07cd1ec9bba0d5b0c1 | |
parent | f7e0db0ce1170b88043f7eb6afcc93c861c4611d [diff] |
Call prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY) if app is debuggable. Enabled Yama security may prevent non-privileged debugger from attaching to the app. However, if app is marked is debuggable then it should acceptable to allow debugger with arbitrary pid to connect the app. Bug: 29549463 Change-Id: I50c79dbca272dc473e489cc61471628e2fdc4a03