diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-11-25 17:50:21 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-11-25 17:50:21 +0100 |
commit | 57db77f185b12003e91ec165eecd2d79c589f9fc (patch) | |
tree | b51d9c03aa9b7089ad327d634a13f524afee2136 /CommonLibs/LinkedLists.cpp | |
parent | 94def47fdfb69f17cde7766332aec7fe74dc69c4 (diff) |
main: generate coredump and exit upon SIGABRT received
Previous code relied on abort() switching sigaction to SIG_FDL +
retriggering SIGABRT in case the signal handler returns, which would
then generate the coredump + terminate the process.
However, if a SIGABRT is received from somewhere else (kill -SIGABRT),
then the process would print the talloc report and continue running,
which is not desired.
Change-Id: I3a3ff56cb2d740a33731ecfdf76aa32606872883
Fixes: OS#4865
Diffstat (limited to 'CommonLibs/LinkedLists.cpp')
0 files changed, 0 insertions, 0 deletions