Merge "Improve error message in debuggerd fallback handler."

This commit is contained in:
Treehugger Robot 2020-10-01 21:00:16 +00:00 committed by Gerrit Code Review
commit d0642a373d
1 changed files with 2 additions and 0 deletions

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;
}