commit | 2f11a25a48897efe35d065472f921759d5941eba | [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 | 1d26b40ed5b9a8739425c252603c529d9f8d63fb [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