bionic/libc
Elliott Hughes 533dde4dbf Fix brk/sbrk error checking.
Note that the kernel returns the current break on error or if the requested
break is smaller than the minimum break, or the new break. I don't know where
we got the idea that the kernel could return -1.

Also optimizes the query case.

Also hides an accidentally-exported symbol for LP64.

Change-Id: I0fd6b8b14ddf1ae82935c0c3fc610da5cc74932e
2014-04-25 19:38:33 -07:00
..
arch-arm LP64 shouldn't include the non-standard <time64.h> cruft. 2014-04-22 13:55:58 -07:00
arch-arm64 Clean up <machine/ieee.h>. 2014-04-16 16:31:17 -07:00
arch-common/bionic AArch64: Add initial support for AArch64 2013-12-16 17:00:22 -08:00
arch-mips LP64 shouldn't include the non-standard <time64.h> cruft. 2014-04-22 13:55:58 -07:00
arch-mips64 Clean up <machine/ieee.h>. 2014-04-16 16:31:17 -07:00
arch-x86 LP64 shouldn't include the non-standard <time64.h> cruft. 2014-04-22 13:55:58 -07:00
arch-x86_64 Clean up <machine/ieee.h>. 2014-04-16 16:31:17 -07:00
bionic Fix brk/sbrk error checking. 2014-04-25 19:38:33 -07:00
dns bionic: Replace iface with opaque netid in resolver. 2014-04-01 16:25:49 -04:00
include Reserve space in pthread structures for future extensibility. 2014-04-24 22:07:52 +00:00
kernel prctl: Adds the PR_SET_TIMERSLACK_PID option 2014-04-23 19:13:15 +00:00
private Allow liblog to pass failure reasons to debuggerd. 2014-04-23 14:52:49 -07:00
stdio Switch to upstream OpenBSD fread/fvwrite. 2014-04-18 13:13:04 -07:00
stdlib Switch to the upstream OpenBSD getenv/putenv/setenv implementation. 2014-04-22 17:41:00 -07:00
tools Fix for libgcc compat generation script. 2014-04-18 17:34:20 -07:00
tzcode Merge "Fix locatime.c indentation after sync" 2014-02-28 18:02:22 +00:00
unistd Reimplement clock(3) and switch to OpenBSD time(3). 2014-03-11 13:37:11 -07:00
upstream-dlmalloc Fix build warning of initialization but no use. 2012-09-06 09:59:13 -07:00
upstream-freebsd Clean up and document our hacks for building BSD source. 2014-04-21 17:13:46 -07:00
upstream-netbsd Clean up and document our hacks for building BSD source. 2014-04-21 17:13:46 -07:00
upstream-openbsd Switch to the upstream OpenBSD getenv/putenv/setenv implementation. 2014-04-22 17:41:00 -07:00
zoneinfo Upgrade to tzdata2014b. 2014-04-02 14:43:27 -07:00
Android.mk Fix brk/sbrk error checking. 2014-04-25 19:38:33 -07:00
crt.mk Reconfig libc's Android.mk to build for multilib 2014-02-12 13:58:34 -08:00
MODULE_LICENSE_BSD auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
NOTICE Regenerate the NOTICE files. 2014-04-16 17:01:12 -07:00
SYSCALLS.TXT Implement _Exit(3). 2014-04-08 17:16:13 -07:00