diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-07-31 09:46:52 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-06-19 09:05:43 -0300 |
commit | c49e66c7e507f2d37c4725ce4680f19179cfa44e (patch) | |
tree | 3b3c501f00e50015225ab9ff1ad28288be4004c9 /libio/bug-wmemstream1.c | |
parent | 19f6d6a480b29912022184f31f11dbf1c201a86b (diff) | |
download | glibc-c49e66c7e507f2d37c4725ce4680f19179cfa44e.zip glibc-c49e66c7e507f2d37c4725ce4680f19179cfa44e.tar.gz glibc-c49e66c7e507f2d37c4725ce4680f19179cfa44e.tar.bz2 |
setjmp: Use BSD sematic as default for setjmp
POSIX relaxed the relation of setjmp/longjmp and the signal mask
save/restore, meaning that setjmp does not require to be routed to
_setjmp to be standard compliant.
This is done to avoid breakage of SIGABRT handlers, since to fully
make abort AS-safe, it is required to remove the recurisve lock
used to unblock SIGABRT prior raised the signal.
Also, it allows caller to actually use setjmp, since from
7011c2622fe3e10a29dbe74f06aaebd07710127d the symbol is unconditionally
routed to _setjmp.
Checked on x86_64-linux-gnu.
Diffstat (limited to 'libio/bug-wmemstream1.c')
0 files changed, 0 insertions, 0 deletions