]> git.ipfire.org Git - thirdparty/glibc.git/commit
stdio: Clean up __libc_message after unconditional abort
authorFlorian Weimer <fweimer@redhat.com>
Wed, 3 Aug 2022 09:41:53 +0000 (11:41 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 3 Aug 2022 09:42:39 +0000 (11:42 +0200)
commitcca9684f2d7a74fc0b28bfb1859955e0e28d7b4b
treef07de8d03a36b0d91b7053a88af8d7818b0af20e
parentfccadcdf5bed7ee67a6cef4714e0b477d6c8472c
stdio: Clean up __libc_message after unconditional abort

Since commit ec2c1fcefb200c6cb7e09553f3c6af8815013d83 ("malloc:
Abort on heap corruption, without a backtrace [BZ #21754]"),
__libc_message always terminates the process.  Since commit
a289ea09ea843ced6e5277c2f2e63c357bc7f9a3 ("Do not print backtraces
on fatal glibc errors"), the backtrace facility has been removed.
Therefore, remove enum __libc_message_action and the action
argument of __libc_message, and mark __libc_message as _No_return.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
debug/fortify_fail.c
include/stdio.h
malloc/malloc.c
sysdeps/posix/libc_fatal.c