aboutsummaryrefslogtreecommitdiff
path: root/rt/tst-mqueue3.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2023-12-19 09:55:25 -0800
committerH.J. Lu <hjl.tools@gmail.com>2023-12-19 13:39:34 -0800
commit46432be2f1d4de962b51ca6b9f80fc37744be9f7 (patch)
tree2ca2cea121c9868c472abc35226e5c881fbbc996 /rt/tst-mqueue3.c
parentcad5703e4f80841b7f7e3fe57127bd0df7ddb86e (diff)
downloadglibc-46432be2f1d4de962b51ca6b9f80fc37744be9f7.tar
glibc-46432be2f1d4de962b51ca6b9f80fc37744be9f7.tar.gz
glibc-46432be2f1d4de962b51ca6b9f80fc37744be9f7.tar.bz2
glibc-46432be2f1d4de962b51ca6b9f80fc37744be9f7.zip
tst-setcontext10.c: Undef _FORTIFY_SOURCE
When _FORTIFY_SOURCE is defined to 2, ____longjmp_chk is called, instead of longjmp. ____longjmp_chk compares the relative stack values to decide if it is called from a stack frame which called setjmp. If not, ____longjmp_chk assumes that an alternate signal stack is used. Since comparing the relative stack values isn't reliable with user context, when there is no signal, ____longjmp_chk will fail. Undefine _FORTIFY_SOURCE to avoid ____longjmp_chk in user context test.
Diffstat (limited to 'rt/tst-mqueue3.c')
0 files changed, 0 insertions, 0 deletions