[Intel-gfx] [igt PATCH 2/4] lib: handle SIGSEGV similarly to other error signals

Imre Deak imre.deak at intel.com
Mon Aug 5 13:45:24 CEST 2013


Signed-off-by: Imre Deak <imre.deak at intel.com>
---
 lib/drmtest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/drmtest.c b/lib/drmtest.c
index d51f708..afbaa35 100644
--- a/lib/drmtest.c
+++ b/lib/drmtest.c
@@ -1309,7 +1309,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)
 {
-- 
1.8.3.2




More information about the Intel-gfx mailing list