Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 68083003 authored by Josh Gao's avatar Josh Gao
Browse files

Improve error message in debuggerd fallback handler.

Bug: http://b/164014625
Test: none
Change-Id: I4f1e61be93c511676e66b909a15735bba963eff0
parent 36991d8e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
  }