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-22 19:21:32 -07:00
2013-12-03 18:42:41 -08:00
2013-12-03 18:42:41 -08:00
2014-04-08 12:19:23 -07:00
2013-02-01 14:51:19 -08:00
2014-02-24 20:22:11 +00:00
2014-04-08 19:37:38 -07:00
2013-10-29 14:55:11 -07:00
2014-02-12 19:04:27 -08:00
2014-04-10 20:44:27 -07:00
2014-02-21 16:27:21 +00:00
2014-04-17 17:30:03 -07:00
2014-04-08 17:16:13 -07:00
2014-04-07 16:41:53 -07:00
2013-02-13 14:40:48 -08:00
2014-02-24 15:55:31 -08:00
2014-01-09 11:00:04 -08:00
2014-01-03 14:49:37 -08:00
2014-02-24 20:22:11 +00:00
2014-04-25 19:38:33 -07:00