summaryrefslogtreecommitdiffstats
path: root/lib/libexpat/examples/elements.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-05-09 16:33:48 +0000
committerguenther <guenther@openbsd.org>2016-05-09 16:33:48 +0000
commit740d453081e3236df2b114c06be33328f277e636 (patch)
treeb13cca819d1b777a9cfc39ddd5f3614b1c8395d1 /lib/libexpat/examples/elements.c
parentDon't use sigreturn(2) in longjmp(3). Instead use a similar approach as in (diff)
downloadwireguard-openbsd-740d453081e3236df2b114c06be33328f277e636.tar.xz
wireguard-openbsd-740d453081e3236df2b114c06be33328f277e636.zip
Stop using sigreturn for longjmp, just set the signal mask and return
registers ala _longjmp. In setjmp, stop saving the onstack from sigaltstack as it's been unused by longjmp for years. In sig{set,long}jmp, use the internal, hidden names for setjmp/_setjmp/etc to avoid creating PLT entries. build testing deraadt@
Diffstat (limited to 'lib/libexpat/examples/elements.c')
0 files changed, 0 insertions, 0 deletions