mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 22:26:06 +00:00
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:
parent
c87486f595
commit
fe52a01df1
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user