platform_bionic/libc/stdlib
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
..
atexit.c Clean up abort. 2013-06-12 14:14:53 -07:00
atexit.h stdlib: atexit: include <sys/cdefs.h> 2013-02-16 21:23:27 +05:30
ctype_.c improve readability of stdlib: fix indentation and remove trailing spaces 2010-04-29 07:29:06 -07:00
exit.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getenv.c improve readability of stdlib: fix indentation and remove trailing spaces 2010-04-29 07:29:06 -07:00
putenv.c improve readability of stdlib: fix indentation and remove trailing spaces 2010-04-29 07:29:06 -07:00
setenv.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strtod.c Bug 3330205 Thread safety for bignum powers of 5 2011-01-17 11:32:11 -08:00
strtoimax.c improve readability of stdlib: fix indentation and remove trailing spaces 2010-04-29 07:29:06 -07:00
strtol.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strtoll.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strtoul.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strtoull.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strtoumax.c improve readability of stdlib: fix indentation and remove trailing spaces 2010-04-29 07:29:06 -07:00
tolower_.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
toupper_.c auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00