commit | bcd7709452cdb6e25583cf808fb17984830f4528 | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Wed Nov 25 18:28:55 2020 +0100 |
committer | Pau Espin Pedrol <pespin@sysmocom.de> | Wed Nov 25 18:28:55 2020 +0100 |
tree | c6c4b29ef573f57a9fef0ef67ba46a26265fa9de | |
parent | 7ffc6603e2cb8b64be44ab31298d22ac21ea1543 [diff] |
sgsn: 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: I65f70a53b6982bff9ea4bd6ff786d8a2f8181eac Fixes: OS#4865