breakpad/src/client/linux/handler
mark@chromium.org 343ce73b73 Properly redeliver (or don't) signals to the previous handlers.
If none of the installed ExceptionHandlers handle a signal (their
FilterCallbacks or HandlerCallbacks all return false), then the signal
should be delivered to the signal handlers that were previously
installed.

This requires that old_handlers_ become a static vector so that we can
restore the handlers in the static HandleSignal.

Currently it is also restoring signals in ~ExceptionHandler (if there
are no others). This should not be required since our documentation
states that a process can only have one ExceptionHandler for which
install_handlers is true (and so we get the correct behavior if we
simply leave our handlers installed forever), but even the tests
themselves violate that.

Patch by Chris Hopman <cjhopman@chromium.org>

Review URL: https://breakpad.appspot.com/440002/


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1025 4c0a9323-5329-0410-9bdc-e9ce6186880e
2012-09-04 22:38:41 +00:00
..
exception_handler.cc Properly redeliver (or don't) signals to the previous handlers. 2012-09-04 22:38:41 +00:00
exception_handler.h Properly redeliver (or don't) signals to the previous handlers. 2012-09-04 22:38:41 +00:00
exception_handler_unittest.cc Properly redeliver (or don't) signals to the previous handlers. 2012-09-04 22:38:41 +00:00
minidump_descriptor.cc Adding a way to create an ExceptionHandler that takes in a file descriptor 2012-08-09 22:59:58 +00:00
minidump_descriptor.h Fix Android build. 2012-08-20 20:22:05 +00:00