diff options
author | Oleksiy Vyalov <ovyalov@google.com> | 2016-06-21 16:21:37 -0700 |
---|---|---|
committer | Oleksiy Vyalov <ovyalov@google.com> | 2016-07-11 14:35:42 -0700 |
commit | de9007f60259e9099030cd7a818dc6357a856703 (patch) | |
tree | 8f4b2bb6ed017ef99b5162a8e7e278cf63b800c6 /test/utils/python/generate_java_main.py | |
parent | f79c0e6f74dfaf7ca5ba3fbe1c903abd65086a1a (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
(cherry picked from commit e21145f6625a7faa939c1ca17fb95285aa245c16)
Diffstat (limited to 'test/utils/python/generate_java_main.py')
0 files changed, 0 insertions, 0 deletions