diff options
author | Josh Gao <jmgao@google.com> | 2020-09-25 13:51:02 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2020-09-25 13:51:02 -0700 |
commit | 68083003b8875e0acec834461ba3574a4d65e583 (patch) | |
tree | 231dd180d54784fa518a9c3eef6d46895e7469a4 /debuggerd/handler/debuggerd_fallback.cpp | |
parent | 36991d8e26ebfcdbe1d00cc1f3b9c553d83bcadd (diff) |
Improve error message in debuggerd fallback handler.
Bug: http://b/164014625
Test: none
Change-Id: I4f1e61be93c511676e66b909a15735bba963eff0
Diffstat (limited to 'debuggerd/handler/debuggerd_fallback.cpp')
-rw-r--r-- | debuggerd/handler/debuggerd_fallback.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debuggerd/handler/debuggerd_fallback.cpp b/debuggerd/handler/debuggerd_fallback.cpp index 9bcbdb36a..85ba09ed6 100644 --- a/debuggerd/handler/debuggerd_fallback.cpp +++ b/debuggerd/handler/debuggerd_fallback.cpp @@ -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; } |