diff options
author | Josh Gao <jmgao@google.com> | 2017-02-07 12:31:17 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2017-02-07 12:35:51 -0800 |
commit | 347164cc59fc4cf45e30c5518e6aa3b29cdc0283 (patch) | |
tree | 059500558f2f8da02b4aa26e108fa3ade72c6cf1 /libcutils/socket_local_server_unix.cpp | |
parent | 9df286012c83b04e6eefd96aa178683dd336a3f2 (diff) |
crash_dump: read /proc/<pid>/maps before dropping capabilities.
Reading /proc/<pid>/maps does a ptrace_may_access check, which will
fail if we have fewer capabilities than the target, even if we've
already ptraced it.
Bug: http://b/35070339
Test: debuggerd -b `pidof zygote`
Change-Id: I984a061022bd945a7950b88f6d579e1bd735e893
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions