Code Review
/
src
/
app-framework-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
9944b38
)
handle more exceptionnal signals
author
José Bollo
<jose.bollo@iot.bzh>
Wed, 28 Jun 2017 15:21:21 +0000
(17:21 +0200)
committer
José Bollo
<jose.bollo@iot.bzh>
Wed, 28 Jun 2017 16:34:48 +0000
(18:34 +0200)
Change-Id: I956cda0a437c782b1b39689330429bcba06c1804
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/sig-monitor.c
patch
|
blob
|
history
diff --git
a/src/sig-monitor.c
b/src/sig-monitor.c
index
fdaf8c0
..
bd1311a
100644
(file)
--- 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;
}