summaryrefslogtreecommitdiffstats
path: root/tests/012/stack.tl
Commit message (Collapse)AuthorAgeFilesLines
* signals: disable stack overflow in handler.Kaz Kylheku2021-06-241-0/+11
| | | | | | | | | | | * signal.c (sig_handler): For a is_cpu_exception signal, we temporarily disable the stack limit. It might be executing on the sigaltstack buffer, which is almost certainly below the stack limit. * tests/012/stack.tl: New test case. We raise a SIGSEGV and check that in the handler, the stack limit is disabled, and that we can executed code.
* Test for stack overflow protection.Kaz Kylheku2021-06-241-0/+31
* tests/012/stack.tl: New file. * tets/common.tl (mvtest): New macro.