Skip to content

Commit

Permalink
suppress stopping signal properly
Browse files Browse the repository at this point in the history
  • Loading branch information
5ec1cff committed Jan 6, 2024
1 parent 505e5dc commit 7979cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loader/src/ptracer/monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,11 +387,11 @@ struct SigChldHandler : public EventHandler {
LOGW("inject signal sent to init: %s %d",
sigabbrev_np(WSTOPSIG(status)), WSTOPSIG(status));
ptrace(PTRACE_CONT, pid, 0, WSTOPSIG(status));
continue;
} else {
LOGW("suppress stopping signal sent to init: %s %d",
sigabbrev_np(WSTOPSIG(status)), WSTOPSIG(status));
}
continue;
}
ptrace(PTRACE_CONT, pid, 0, 0);
}
Expand Down

0 comments on commit 7979cb4

Please sign in to comment.