aboutsummaryrefslogtreecommitdiff
path: root/debug/tst-longjmp_chk2.c
AgeCommit message (Collapse)Author
2016-06-23test-skeleton.c: Add write_message functionFlorian Weimer
2016-06-13debug/tst-longjmp_chk2: Make signal handler more conservative [BZ #20248]Florian Weimer
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.
2014-03-13tst-longjmp_chk2: add comments/sanity checkMike Frysinger
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>
2009-07-30Add test case for ____longjmp_chk vs signal stacks.Ulrich Drepper