summaryrefslogtreecommitdiff
path: root/lib/drmtest.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-09-11 12:11:54 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-09-11 12:11:54 +0200
commitbbc820302b49d3cdd0f05f2c2be3af63718e0fc1 (patch)
tree5a2e9a09c9ab30ee6f99d90aa23bfd3fae2f7b44 /lib/drmtest.c
parent14dd7cb8aa86d51b093c8cffa40df420c342c89a (diff)
lib/drmtest: handle SIGBUS in the exit handlers
Our kernel likes to occasionally kill process with a SIGBUS when this shouldn't ever happen. Hence also handle this signal in the exit handler infrastructure. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
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 f31091a95..969854c6f 100644
--- a/lib/drmtest.c
+++ b/lib/drmtest.c
@@ -1700,7 +1700,7 @@ static igt_exit_handler_t exit_handler_fn[MAX_EXIT_HANDLERS];
static bool exit_handler_disabled;
static sigset_t saved_sig_mask;
static const int handled_signals[] =
- { SIGINT, SIGHUP, SIGTERM, SIGQUIT, SIGPIPE, SIGABRT, SIGSEGV };
+ { SIGINT, SIGHUP, SIGTERM, SIGQUIT, SIGPIPE, SIGABRT, SIGSEGV, SIGBUS };
static int install_sig_handler(int sig_num, sighandler_t handler)
{