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

Commit e4f6d914 authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

Merge "debuggerd_handler: demote abort on exec failure to log." am: 965d0c38

am: 80ffda8f

Change-Id: Ic10fa24e3d6af8d3fce8bee3c2fab10363203115
parents 1e43373c 80ffda8f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -383,7 +383,9 @@ static int debuggerd_dispatch_pseudothread(void* arg) {

    execle(CRASH_DUMP_PATH, CRASH_DUMP_NAME, main_tid, pseudothread_tid, debuggerd_dump_type,
           nullptr, nullptr);
    fatal_errno("exec failed");
    async_safe_format_log(ANDROID_LOG_FATAL, "libc", "failed to exec crash_dump helper: %s",
                          strerror(errno));
    return 1;
  }

  input_write.reset();