Merge "Improve error message in debuggerd fallback handler." am: d0642a373d

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1439573

Change-Id: I1e4c6ac7e23c9b590242767c6b2252404d3149f5
This commit is contained in:
Treehugger Robot 2020-10-01 21:12:50 +00:00 committed by Automerger Merge Worker
commit c950673062

View file

@ -233,6 +233,8 @@ static void trace_handler(siginfo_t* info, ucontext_t* ucontext) {
// Fetch output fd from tombstoned.
unique_fd tombstone_socket, output_fd;
if (!tombstoned_connect(getpid(), &tombstone_socket, &output_fd, kDebuggerdNativeBacktrace)) {
async_safe_format_log(ANDROID_LOG_ERROR, "libc",
"missing crash_dump_fallback() in selinux policy?");
goto exit;
}