diff options
author | Imre Deak <imre.deak@intel.com> | 2013-08-02 17:13:37 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2013-08-19 16:38:21 +0300 |
commit | e55b89f1c375df20415e0ebe164001b168fb2bde (patch) | |
tree | 778cf0d6528a08829fdc7d8461db94fed80d315f /lib | |
parent | 9cbbce148f4a10aa7acf899d0f3cd47b98111cde (diff) |
lib: handle SIGSEGV similarly to other error signals
Signed-off-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/drmtest.c | 2 |
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) { |