michael@0: commit 443e11243cf3c88087b70602822d9e228f60d40a michael@0: Author: Jed Davis michael@0: Date: Wed Jan 29 12:06:33 2014 -0800 michael@0: michael@0: Bug 945498: Use breakpad to report seccomp violations as crashes. michael@0: michael@0: diff --git a/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.h b/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.h michael@0: index 7155419..c0039bc 100644 michael@0: --- a/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.h michael@0: +++ b/toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.h michael@0: @@ -219,6 +219,9 @@ class ExceptionHandler { michael@0: michael@0: // Force signal handling for the specified signal. michael@0: bool SimulateSignalDelivery(int sig); michael@0: + michael@0: + // Report a crash signal from an SA_SIGINFO signal handler. michael@0: + bool HandleSignal(int sig, siginfo_t* info, void* uc); michael@0: private: michael@0: // Save the old signal handlers and install new ones. michael@0: static bool InstallHandlersLocked(); michael@0: @@ -231,7 +234,6 @@ class ExceptionHandler { michael@0: void WaitForContinueSignal(); michael@0: michael@0: static void SignalHandler(int sig, siginfo_t* info, void* uc); michael@0: - bool HandleSignal(int sig, siginfo_t* info, void* uc); michael@0: static int ThreadEntry(void* arg); michael@0: bool DoDump(pid_t crashing_process, const void* context, michael@0: size_t context_size);