glibc/include
Florian Weimer a289ea09ea Do not print backtraces on fatal glibc errors
If the process is in a bad state, we used to print backtraces in
many cases.  This is problematic because doing so could involve
a lot of work, like loading libgcc_s using the dynamic linker,
and this could itself be targeted by exploit writers.  For example,
if the crashing process was forked from a long-lived process, the
addresses in the error message could be used to bypass ASLR.

Commit ed421fca42 ("Avoid backtrace from
__stack_chk_fail [BZ #12189]"), backtraces where no longer printed
because backtrace_and_maps was always called with do_abort == 1.

Rather than fixing this logic error, this change removes the backtrace
functionality from the sources.  With the prevalence of external crash
handlers, it does not appear to be particularly useful.  The crash
handler may also destroy useful information for debugging.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2019-08-19 15:41:29 +02:00
..
arpa
bits <sys/stat.h>: Use Linux UAPI header for statx if available and useful 2019-06-12 13:04:43 +02:00
gnu
net
netinet Add missing header wrappers under include/ 2019-02-16 08:25:16 +01:00
programs
protocols
rpc
rpcsvc Add missing header wrappers under include/ 2019-02-16 08:25:16 +01:00
sys Linux: Deprecate <sys/sysctl.h> and sysctl 2019-06-12 14:32:08 +02:00
aio.h
aliases.h
alloc_buffer.h alloc_buffer: Return unqualified pointer type in alloc_buffer_next 2019-04-11 09:43:17 +02:00
alloca.h
allocate_once.h
ar.h Add missing header wrappers under include/ 2019-02-16 08:25:16 +01:00
argp-fmtstream.h
argp.h ldbl-opt: Add argp_error and argp_failure (bug 23983) 2019-03-01 15:21:32 -03:00
argz.h
array_length.h
assert.h
atomic.h
byteswap.h
complex.h
cpio.h
crypt.h
ctype.h
des.h
dirent.h Linux: Add getdents64 system call 2019-06-07 09:27:01 +02:00
dlfcn.h
dso_handle.h
elf.h elf: Refuse to dlopen PIE objects [BZ #24323] 2019-06-18 16:42:10 +02:00
endian.h
envz.h
err.h ldbl-opt: Add err, errx, verr, verrx, warn, warnx, vwarn, and vwarnx (bug 23984) 2019-03-01 15:24:51 -03:00
errno.h
error.h ldbl-opt: Add error and error_at_line (bug 23984) 2019-03-01 15:26:36 -03:00
execinfo.h
fcntl.h
features.h Add feature test macro _ISOC2X_SOURCE. 2019-08-13 11:26:00 +00:00
fenv.h
float.h Make totalorder and totalordermag functions take pointer arguments. 2019-08-15 15:18:34 +00:00
fmtmsg.h
fnmatch.h
fpu_control.h
fstab.h Add missing header wrappers under include/ 2019-02-16 08:25:16 +01:00
fts.h Add missing header wrappers under include/ 2019-02-16 08:25:16 +01:00
ftw.h
gconv.h
getopt.h
getopt_int.h
glob.h
gmp.h
gnu-versions.h
grp-merge.h
grp.h
gshadow.h
iconv.h
ifaddrs.h
ifreq.h
ifunc-impl-list.h
inline-hashtab.h
intprops.h
inttypes.h Move inttypes.h and stdint.h to stdlib. 2019-03-13 09:42:09 -04:00
langinfo.h
lastlog.h Add missing header wrappers under include/ 2019-02-16 08:25:16 +01:00
libc-diag.h
libc-internal.h Remove __get_clockfreq 2019-03-22 16:52:29 -03:00
libc-pointer-arith.h
libc-symbols.h
libgen.h
libintl.h
limits.h Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
link.h
list.h
list_t.h
locale.h
loop_unroll.h wcsmbs: Add wcscpy loop unroll option 2019-04-04 16:01:10 +07:00
malloc.h Don't declare __malloc_check_init in <malloc.h> (bug 23352) 2019-07-10 15:04:05 +02:00
math-narrow-eval.h
math.h
mcheck.h
memory.h
mntent.h
monetary.h
mqueue.h
netdb.h
netgroup.h
nl_types.h
nss.h
nsswitch.h
obstack.h
plural-exp.h
poll.h
printf.h
pthread.h
pty.h
pwd.h
random-bits.h Do not use HP_TIMING_NOW for random bits 2019-03-22 17:30:39 -03:00
re_comp.h Add missing header wrappers under include/ 2019-02-16 08:25:16 +01:00
regex.h
regexp.h Add missing header wrappers under include/ 2019-02-16 08:25:16 +01:00
resolv.h
rounding-mode.h
sched.h
scratch_buffer.h
search.h misc: Add twalk_r function 2019-05-02 11:42:51 +02:00
set-hooks.h
setjmp.h Make totalorder and totalordermag functions take pointer arguments. 2019-08-15 15:18:34 +00:00
sgtty.h
shadow.h
shlib-compat.h
signal.h
spawn.h
stab.h
stackinfo.h
stap-probe.h Fix -Wempty-body warnings in glibc. 2019-02-13 13:50:13 +00:00
stdc-predef.h
stdint.h Move inttypes.h and stdint.h to stdlib. 2019-03-13 09:42:09 -04:00
stdio.h Do not print backtraces on fatal glibc errors 2019-08-19 15:41:29 +02:00
stdio_ext.h
stdlib.h
string.h
strings.h
stubs-prologue.h
syscall.h
sysexits.h
syslog.h
tar.h
termios.h
tgmath.h
time.h Make mktime etc. compatible with __time64_t 2019-04-30 09:02:17 -07:00
ttyent.h
uchar.h
ucontext.h
ulimit.h
unistd.h
utime.h
utmp.h
values.h
verify.h
wait.h Add missing header wrappers under include/ 2019-02-16 08:25:16 +01:00
wchar.h wcsmbs: optimize wcscat 2019-02-27 10:00:37 -03:00
wctype.h
wordexp.h