bionic/libc
Elliott Hughes 61e699a133 Clean up abort.
* A dlmalloc usage error shouldn't call abort(3) because we want to
  cause a SIGSEGV by writing the address dlmalloc didn't like to an
  address the kernel won't like, so that debuggerd will dump the
  memory around the address that upset dlmalloc.

* Switch to the simpler FreeBSD/NetBSD style of registering stdio
  cleanup. Hopefully this will let us simplify more of the stdio
  implementation.

* Clear the stdio cleanup handler before we abort because of a dlmalloc
  corruption error. This fixes the reported bug, where we'd hang inside
  dlmalloc because the stdio cleanup reentered dlmalloc.

Bug: 9301265
Change-Id: Ief31b389455d6876e5a68f0f5429567d37277dbc
2013-06-12 14:14:53 -07:00
..
arch-arm Fix abort(3) to raise SIGABRT rather than causing SIGSEGV. 2013-06-10 17:17:46 -07:00
arch-mips libc: add timerfd calls 2013-05-14 14:45:02 -07:00
arch-x86 Revert "libc x86: Remove strcat.S" 2013-06-08 00:42:35 +00:00
bionic Clean up abort. 2013-06-12 14:14:53 -07:00
include <stdint.h> should expose SIZE_MAX. 2013-06-12 10:28:26 -07:00
kernel libc: add timerfd calls 2013-05-14 14:45:02 -07:00
netbsd Ensure header files using __BEGIN_DECLS include sys/cdefs.h. 2013-06-05 17:58:08 -07:00
private Clean up abort. 2013-06-12 14:14:53 -07:00
stdio Clean up abort. 2013-06-12 14:14:53 -07:00
stdlib Clean up abort. 2013-06-12 14:14:53 -07:00
string bionic/x86: Optimization for string routines 2013-05-31 13:37:03 +04:00
tools Don't avoid IPv6 when looking for new tzdata. 2013-04-24 10:50:45 -07:00
tzcode Improve diagnostics in the face of bad tzdata. 2013-04-25 14:02:59 -07:00
unistd Clean up abort. 2013-06-12 14:14:53 -07:00
upstream-dlmalloc Fix build warning of initialization but no use. 2012-09-06 09:59:13 -07:00
upstream-freebsd Pull upstream FreeBSD revision 249810. 2013-05-14 15:02:16 -07:00
upstream-netbsd Add more __restricts, clean up __format__ attributes. 2013-05-14 16:08:43 -07:00
wchar Switch to upstream-freebsd for the unmolested wchar code. 2013-03-01 18:35:56 -08:00
zoneinfo Upgrade to tzdata2013c. 2013-04-22 11:33:14 -07:00
Android.mk Clean up abort. 2013-06-12 14:14:53 -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 Pull upstream FreeBSD revision 249810. 2013-05-14 15:02:16 -07:00
SYSCALLS.TXT libc: add timerfd calls 2013-05-14 14:45:02 -07:00