Improve error message in debuggerd fallback handler.
Bug: http://b/164014625 Test: none Change-Id: I4f1e61be93c511676e66b909a15735bba963eff0
This commit is contained in:
parent
36991d8e26
commit
68083003b8
1 changed files with 2 additions and 0 deletions
|
|
@ -237,6 +237,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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue