|
|
@ -471,7 +471,7 @@ bool ExceptionHandler::HandleSignal(int /*sig*/, siginfo_t* info, void* uc) { |
|
|
|
// This is a public interface to HandleSignal that allows the client to
|
|
|
|
// This is a public interface to HandleSignal that allows the client to
|
|
|
|
// generate a crash dump. This function may run in a compromised context.
|
|
|
|
// generate a crash dump. This function may run in a compromised context.
|
|
|
|
bool ExceptionHandler::SimulateSignalDelivery(int sig) { |
|
|
|
bool ExceptionHandler::SimulateSignalDelivery(int sig) { |
|
|
|
siginfo_t siginfo = {}; |
|
|
|
siginfo_t siginfo; |
|
|
|
// Mimic a trusted signal to allow tracing the process (see
|
|
|
|
// Mimic a trusted signal to allow tracing the process (see
|
|
|
|
// ExceptionHandler::HandleSignal().
|
|
|
|
// ExceptionHandler::HandleSignal().
|
|
|
|
siginfo.si_code = SI_USER; |
|
|
|
siginfo.si_code = SI_USER; |
|
|
|