linux: set dumpable for all signal handlers

Change-Id: I6e3d6627332d7dd9eb029b9778f72d7af1511153
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/1850234
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
Joshua Peraza 2019-10-09 11:00:00 -07:00 committed by Commit Bot
parent c87486f595
commit fe52a01df1

View File

@ -155,6 +155,7 @@ class SignalHandler {
context);
exception_information_.thread_id = sys_gettid();
ScopedPrSetDumpable set_dumpable(false);
HandleCrashImpl();
return false;
}
@ -228,7 +229,6 @@ class LaunchAtCrashHandler : public SignalHandler {
void HandleCrashImpl() override {
ScopedPrSetPtracer set_ptracer(sys_getpid(), /* may_log= */ false);
ScopedPrSetDumpable set_dumpable(/* may_log= */ false);
pid_t pid = fork();
if (pid < 0) {