commit | 4e7bc4258374a1f615ab3e2d5355d2da86dc863b | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon Feb 13 14:46:19 2017 -0800 |
committer | Josh Gao <jmgao@google.com> | Tue Feb 14 21:19:38 2017 -0800 |
tree | 1574e011b4aaf69b8050c6224edbd76ce73597dc | |
parent | 1e05e099fcbad4a1077f2994d659ae504717c711 [diff] |
debuggerd_handler: set PR_SET_DUMPABLE before running crash_dump. Set and restore PR_SET_DUMPABLE when performing a dump, so that processes that have it implicitly cleared (e.g. services that acquire filesystem capabilities) still get crash dumps. Bug: http://b/35174939 Test: debuggerd -b `pidof surfaceflinger` Change-Id: Ife933c10086e546726dec12a7efa3f9cedfeea60