summaryrefslogtreecommitdiff
path: root/lib/drmtest.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2013-08-02 17:13:37 +0300
committerImre Deak <imre.deak@intel.com>2013-08-19 16:38:21 +0300
commite55b89f1c375df20415e0ebe164001b168fb2bde (patch)
tree778cf0d6528a08829fdc7d8461db94fed80d315f /lib/drmtest.c
parent9cbbce148f4a10aa7acf899d0f3cd47b98111cde (diff)
lib: handle SIGSEGV similarly to other error signals
Signed-off-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'lib/drmtest.c')
-rw-r--r--lib/drmtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c
index 02884832..64ebfee3 100644
--- a/lib/drmtest.c
+++ b/lib/drmtest.c
@@ -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)
{