lib: handle SIGSEGV similarly to other error signals

Signed-off-by: Imre Deak <imre.deak@intel.com>
This commit is contained in:
Imre Deak 2013-08-02 17:13:37 +03:00
parent 9cbbce148f
commit e55b89f1c3

View File

@ -1446,7 +1446,7 @@ static int exit_handler_count;
static bool exit_handler_disabled; static bool exit_handler_disabled;
static sigset_t saved_sig_mask; static sigset_t saved_sig_mask;
static const int handled_signals[] = static const int handled_signals[] =
{ SIGINT, SIGHUP, SIGTERM, SIGQUIT, SIGPIPE, SIGABRT }; { SIGINT, SIGHUP, SIGTERM, SIGQUIT, SIGPIPE, SIGABRT, SIGSEGV };
static int install_sig_handler(int sig_num, sighandler_t handler) static int install_sig_handler(int sig_num, sighandler_t handler)
{ {