• R
    always terminate by SIGABRT when abort is called · 9b14ad54
    Rich Felker 提交于
    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).
    9b14ad54
abort.c 990 字节