lib: handle SIGSEGV similarly to other error signals
authorImre Deak <imre.deak@intel.com>
Fri, 2 Aug 2013 14:13:37 +0000 (17:13 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 19 Aug 2013 13:38:21 +0000 (16:38 +0300)
Signed-off-by: Imre Deak <imre.deak@intel.com>
lib/drmtest.c

index 0288483..64ebfee 100644 (file)
@@ -1446,7 +1446,7 @@ static int exit_handler_count;
 static bool exit_handler_disabled;
 static sigset_t saved_sig_mask;
 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)
 {