diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-09-01 01:54:44 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-09-01 02:06:10 -0400 |
commit | 9b14ad541068d4f7d0be9bcd1ff4c70090d868d3 (patch) | |
tree | ee80fd4be7d6d4a96858e02d76e4b53f038bf35d /src/network/ent.c | |
parent | 0b4c92b7acf63529858e7f8a3bb6505cd2b6e962 (diff) | |
download | musl-9b14ad541068d4f7d0be9bcd1ff4c70090d868d3.tar.gz musl-9b14ad541068d4f7d0be9bcd1ff4c70090d868d3.tar.xz musl-9b14ad541068d4f7d0be9bcd1ff4c70090d868d3.zip |
always terminate by SIGABRT when abort is called
Linux makes this surprisingly difficult, but it can be done. the trick here is using the fact that we control the implementation of sigaction to prevent changing the disposition of SIGABRT to anything but SIG_DFL after abort has tried and failed to terminate the process simply by calling raise(SIGABRT).
Diffstat (limited to 'src/network/ent.c')
0 files changed, 0 insertions, 0 deletions