diff options
| author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2021-05-13 18:38:25 +0100 |
|---|---|---|
| committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2021-05-13 18:38:25 +0100 |
| commit | f6a4963cc86bda5f3611f0f59e1ffe53e4b9f3fa (patch) | |
| tree | 44cf734c168a994c8ec7ad541f11abea2de9b4fb /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 8220f2f2127b9aec972163ded97be7d8cff6b9a8 (diff) | |
| download | rust-f6a4963cc86bda5f3611f0f59e1ffe53e4b9f3fa.tar.gz rust-f6a4963cc86bda5f3611f0f59e1ffe53e4b9f3fa.zip | |
Use SIGUSR1 rather than SIGTRAP for "allocated after fork"
Some platforma (eg ARM64) apparently generate SIGTRAP for panic abort! See eg https://github.com/rust-lang/rust/pull/81858#issuecomment-840702765 This is probably a bug, but (i) we want to avoid that bug rather than trying to fix it now and (ii) it would better to use a signal that is less at risk of strangeness. I grepped the rust-lang/rut codebase for SIGUSR and there were no hits. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
