| Index: breakpad/linux/exception_handler.cc
|
| diff --git a/breakpad/linux/exception_handler.cc b/breakpad/linux/exception_handler.cc
|
| index a1c8379029610dcdb1608bea15849d4ad9fc9ffa..4a4955e69e05e022532a9bdc60af99265c2dc3d2 100644
|
| --- a/breakpad/linux/exception_handler.cc
|
| +++ b/breakpad/linux/exception_handler.cc
|
| @@ -258,6 +258,9 @@ bool ExceptionHandler::HandleSignal(int sig, siginfo_t* info, void* uc) {
|
| if (filter_ && !filter_(callback_context_))
|
| return false;
|
|
|
| + // Allow ourselves to be dumped.
|
| + sys_prctl(PR_SET_DUMPABLE, 1);
|
| +
|
| CrashContext context;
|
| memcpy(&context.siginfo, info, sizeof(siginfo_t));
|
| memcpy(&context.context, uc, sizeof(struct ucontext));
|
|
|