commit | f36b5088a32775c44661fb6b348ed0b6b3b67e65 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Apr 25 18:27:38 2014 -0700 |
committer | Christopher Ferris <cferris@google.com> | Thu May 12 17:15:49 2016 -0700 |
tree | d0f1970e216a9eb4f45dd40f3dd226cb1eb3f017 | |
parent | beb6e08abf1393663151afde2742bb23eccab4e1 [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. Bug: 28740702 (cherry picked from commit 533dde4dbf87d6615952be3654fc74e5ff2e1003) Change-Id: Ied16987756a501acf292368a14e3727ad631efa5