summaryrefslogtreecommitdiffstats
path: root/libc/bionic/brk.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix overflow testing in sbrk.Christopher Ferris2014-05-291-4/+4
| | | | | | | | Modify the overflow testing for sbrk. Bug: 15188366 Change-Id: Ia83f85f7c1789454d872279bd41f38f1ce6b8a34
* Fix brk/sbrk error checking.Elliott Hughes2014-04-251-5/+38
| | | | | | | | | | | | 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
* Remove bogus extra alignment from sbrk.Elliott Hughes2013-02-051-0/+41
Bug: https://code.google.com/p/android/issues/detail?id=37349 Change-Id: I970c7b6be7bb7fbe6bbbe2c332f05816aeb0e09f