From patchwork Mon Aug 5 11:45:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Imre Deak X-Patchwork-Id: 2838641 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CA1669F479 for ; Mon, 5 Aug 2013 11:46:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C308520177 for ; Mon, 5 Aug 2013 11:46:13 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id EDEC120160 for ; Mon, 5 Aug 2013 11:46:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1EF15E6D41 for ; Mon, 5 Aug 2013 04:46:12 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 82868E6B66 for ; Mon, 5 Aug 2013 04:45:33 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 05 Aug 2013 04:45:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.89,817,1367996400"; d="scan'208";a="382052326" Received: from intelbox.fi.intel.com (HELO localhost) ([10.237.72.70]) by orsmga002.jf.intel.com with ESMTP; 05 Aug 2013 04:45:32 -0700 From: Imre Deak To: intel-gfx@lists.freedesktop.org Date: Mon, 5 Aug 2013 14:45:24 +0300 Message-Id: <1375703126-19323-3-git-send-email-imre.deak@intel.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1375703126-19323-1-git-send-email-imre.deak@intel.com> References: <1375703126-19323-1-git-send-email-imre.deak@intel.com> Subject: [Intel-gfx] [igt PATCH 2/4] lib: handle SIGSEGV similarly to other error signals X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 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) {