From: José Bollo Date: Wed, 28 Jun 2017 15:21:21 +0000 (+0200) Subject: handle more exceptionnal signals X-Git-Tag: eel/4.99.1~117 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-binder.git;a=commitdiff_plain;h=859e455780dccf2cbe4f2a94a65e4639e6c7e183 handle more exceptionnal signals Change-Id: I956cda0a437c782b1b39689330429bcba06c1804 Signed-off-by: José Bollo --- diff --git a/src/sig-monitor.c b/src/sig-monitor.c index fdaf8c09..bd1311a9 100644 --- a/src/sig-monitor.c +++ b/src/sig-monitor.c @@ -171,8 +171,8 @@ static int install(void (*handler)(int), int *signals) int sig_monitor_init() { - static int sigerr[] = { SIG_FOR_TIMER, SIGSEGV, SIGFPE, 0 }; - static int sigterm[] = { SIGINT, SIGABRT, 0 }; + static int sigerr[] = { SIG_FOR_TIMER, SIGSEGV, SIGFPE, SIGILL, SIGBUS, 0 }; + static int sigterm[] = { SIGINT, SIGABRT, SIGTERM, 0 }; return (install(on_signal_error, sigerr) & install(on_signal_terminate, sigterm)) - 1; }