From e55b89f1c375df20415e0ebe164001b168fb2bde Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Fri, 2 Aug 2013 17:13:37 +0300 Subject: [PATCH] lib: handle SIGSEGV similarly to other error signals Signed-off-by: Imre Deak --- lib/drmtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {