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
..
2014-04-16 16:31:17 -07:00
2014-04-16 16:31:17 -07:00
2014-04-16 16:31:17 -07:00
2014-04-25 19:38:33 -07:00
2014-04-02 14:43:27 -07:00
2014-04-25 19:38:33 -07:00
2014-04-16 17:01:12 -07:00
2014-04-08 17:16:13 -07:00