projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14dd7cb
)
lib/drmtest: handle SIGBUS in the exit handlers
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 11 Sep 2013 10:11:54 +0000
(12:11 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 11 Sep 2013 10:11:54 +0000
(12:11 +0200)
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>
lib/drmtest.c
patch
|
blob
|
history
diff --git
a/lib/drmtest.c
b/lib/drmtest.c
index
f31091a
..
969854c
100644
(file)
--- 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)
{