about summary refs log tree commit diff
path: root/debug/tst-longjmp_chk2.c
Commit message (Collapse)AuthorAgeFilesLines
* test-skeleton.c: Add write_message functionFlorian Weimer2016-06-231-10/+8
|
* debug/tst-longjmp_chk2: Make signal handler more conservative [BZ #20248]Florian Weimer2016-06-131-5/+18
| | | | | | | | | Currently, printf needs more stack space than what is available with SIGSTKSZ. This commit use the the write system call directly instead. Also use sig_atomic_t for the “pass” variable (for general correctness), and restore signal handlers to their defaults, to avoid masking crashes.
* tst-longjmp_chk2: add comments/sanity checkMike Frysinger2014-03-131-1/+6
| | | | | | | | If the longjmp checking code is slightly broken, this code can loop forever which isn't too helpful. Add a sanity check to keep that from happening. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Add test case for ____longjmp_chk vs signal stacks.Ulrich Drepper2009-07-301-0/+114