commit | 007479a363179f403e9c27ee9b6baffe4369d9b1 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Feb 07 12:31:17 2017 -0800 |
committer | Josh Gao <jmgao@google.com> | Tue Feb 07 12:35:51 2017 -0800 |
tree | 059500558f2f8da02b4aa26e108fa3ade72c6cf1 | |
parent | 1b2baec1d5dde490d6abc2c71b45c44223d90d89 [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