mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-12 22:19:10 +00:00
Avoid crash looping on AARCH64
This commit is contained in:
parent
8f18b3ad65
commit
952b9009e8
3 changed files with 10 additions and 11 deletions
|
@ -394,6 +394,8 @@ relegated void __oncrash(int sig, struct siginfo *si, void *arg) {
|
|||
BLOCK_CANCELATION;
|
||||
SpinLock(&lock);
|
||||
__oncrash_impl(sig, si, arg);
|
||||
if (sig != SIGQUIT && sig != SIGTRAP)
|
||||
_exit(1);
|
||||
SpinUnlock(&lock);
|
||||
ALLOW_CANCELATION;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue