bionic/libc
Elliott Hughes 7b4d77e400 Make abort messages available to debuggerd.
This adds __libc_fatal, cleans up the internal logging code a bit more,
and switches suitable callers over to __libc_fatal. In addition to logging,
__libc_fatal stashes the message somewhere that the debuggerd signal handler
can find it before calling abort.

In the debuggerd signal handler, we pass this address to debuggerd so that
it can come back with ptrace to read the message and present it to the user.

Bug: 8531731

(cherry picked from commit 0d787c1fa1)

Change-Id: I5daeeaa36c1fc23f7f437d73a19808d9d558dd4d
2013-04-05 15:57:53 -07:00
..
arch-arm Merge "libc/arm: add cortex-a7 cpu variant" into jb-mr2-dev 2013-03-25 19:42:28 +00:00
arch-mips Replace unnecessary MIPS uses of <sys/linux-syscalls.h> with <asm/unistd.h>. 2013-03-21 22:52:25 -07:00
arch-x86 Replace unnecessary x86 uses of <sys/linux-syscalls.h> with <asm/unistd.h>. 2013-03-21 22:48:18 -07:00
bionic Make abort messages available to debuggerd. 2013-04-05 15:57:53 -07:00
include Prevent name conflict for eventfd.cpp and eventfd.s when building libc.a 2013-04-03 11:14:20 -07:00
kernel Merge "Update processed linux/fs.h header file" into jb-mr2-dev 2013-03-27 21:15:29 +00:00
netbsd Update getaddrinfo to RFC6724 2013-04-01 19:15:43 +09:00
private Make abort messages available to debuggerd. 2013-04-05 15:57:53 -07:00
stdio Define DEFFILEMODE and friends 2012-11-29 11:53:33 -08:00
stdlib stdlib: atexit: include <sys/cdefs.h> 2013-02-16 21:23:27 +05:30
string Drop magic number in strrchr and strchr 2013-03-22 10:18:09 +08:00
tools Fix the SYSCALLS.TXT documentation and remove a dead script. 2013-04-03 11:13:31 -07:00
tzcode Don't search off the end of the index for bad Olson ids. 2013-03-14 14:38:08 -07:00
unistd Upgrade to current NetBSD popen/pclose. 2013-03-06 16:20:55 -08:00
upstream-dlmalloc Fix build warning of initialization but no use. 2012-09-06 09:59:13 -07:00
upstream-freebsd Regenerate NOTICE files. 2013-03-07 11:51:10 -08:00
upstream-netbsd Upgrade to current NetBSD popen/pclose. 2013-03-06 16:20:55 -08:00
wchar Switch to upstream-freebsd for the unmolested wchar code. 2013-03-01 18:35:56 -08:00
zoneinfo Fix a bug in ZoneCompactor that meant the zonetab offset was wrong. 2013-03-14 17:10:24 -07:00
Android.mk Prevent name conflict for eventfd.cpp and eventfd.s when building libc.a 2013-04-03 11:14:20 -07:00
CAVEATS auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
MODULE_LICENSE_BSD auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
NOTICE Regenerate NOTICE files. 2013-03-07 11:51:10 -08:00
SYSCALLS.TXT Fix the SYSCALLS.TXT documentation and remove a dead script. 2013-04-03 11:13:31 -07:00