diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2025-08-21 08:48:13 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2025-09-23 10:29:24 -0300 |
commit | c1016b727ad0955a9c72806d6cfb4596264b6c1e (patch) | |
tree | d38cf6e0ef86d309f5b22a6b2284cb3b759f975a /sysdeps/unix/sysv/linux/dl-execstack.c | |
parent | 855bfa2566bbefefa27c516b344df58a75824a5c (diff) | |
download | glibc-c1016b727ad0955a9c72806d6cfb4596264b6c1e.zip glibc-c1016b727ad0955a9c72806d6cfb4596264b6c1e.tar.gz glibc-c1016b727ad0955a9c72806d6cfb4596264b6c1e.tar.bz2 |
assert: Refactor assert/assert_perror
It now calls __libc_assert, which contains similar logic. The assert
call only requires memory allocation for the message translation, so
test-assert2.c is adapted to handle it.
It also removes the fxprintf from assert/assert_perror; although it
is not 100% backwards-compatible (write message only if there is a
file descriptor associated with the stderr). It now writes bytes
directly without going through the wide stream state.
Checked on aarch64-linux-gnu.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/dl-execstack.c')
0 files changed, 0 insertions, 0 deletions