commit | 533dde4dbf87d6615952be3654fc74e5ff2e1003 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Apr 25 18:27:38 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Apr 25 19:38:33 2014 -0700 |
tree | 1322327db26b0dcce421e891bbe10231cde75bcb | |
parent | eff450ff45170ff17f17b7ceb26f54b858c39238 [diff] |
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