summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-12 17:03:26 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-12 17:03:26 +0000
commit69dc3a4e56777340841c915c2e7c03af5c9ca82c (patch)
treed44a3f2425087fa5945a33804b14817a93b703ac /syslogd.c
parent326a0679e731ab5f2d46ae3b07b9f3f0d378f105 (diff)
downloadrsyslog-69dc3a4e56777340841c915c2e7c03af5c9ca82c.tar.gz
rsyslog-69dc3a4e56777340841c915c2e7c03af5c9ca82c.tar.xz
rsyslog-69dc3a4e56777340841c915c2e7c03af5c9ca82c.zip
- improved diagnostic information for abort cases
- some initial effort for malloc/free debugging support - bugfix: using dynafile actions caused rsyslogd abort
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/syslogd.c b/syslogd.c
index 6841a6a9..f42f48a9 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -4827,6 +4827,8 @@ int realMain(int argc, char **argv)
sigAct.sa_handler = sigsegvHdlr;
sigaction(SIGSEGV, &sigAct, NULL);
+sigAct.sa_handler = sigsegvHdlr;
+sigaction(SIGABRT, &sigAct, NULL);
sigAct.sa_handler = doDie;
sigaction(SIGTERM, &sigAct, NULL);
sigAct.sa_handler = Debug ? doDie : SIG_IGN;