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

Commit 1a23e3c4 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

Merge "Merge "zygote: always log process exit reason." am: b14694b0 am:...

Merge "Merge "zygote: always log process exit reason." am: b14694b0 am: 1453059a am: c4f12912 am: 1535b8ca" into oc-mr1-dev-plus-aosp
parents 51350146 630c422a
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -108,13 +108,9 @@ static void SigChldHandler(int /*signal_number*/) {
     // changes its locking strategy or its use of syscalls within the
     // lazy-init critical section, its use here may become unsafe.
    if (WIFEXITED(status)) {
      if (WEXITSTATUS(status)) {
      ALOGI("Process %d exited cleanly (%d)", pid, WEXITSTATUS(status));
      }
    } else if (WIFSIGNALED(status)) {
      if (WTERMSIG(status) != SIGKILL) {
      ALOGI("Process %d exited due to signal (%d)", pid, WTERMSIG(status));
      }
      if (WCOREDUMP(status)) {
        ALOGI("Process %d dumped core.", pid);
      }