]> Zhao Yanbai Git Server - minix.git/commit
vm: break: allow brk() on any region
authorBen Gras <ben@minix3.org>
Fri, 6 Apr 2012 23:19:28 +0000 (01:19 +0200)
committerBen Gras <ben@minix3.org>
Thu, 12 Apr 2012 00:57:59 +0000 (02:57 +0200)
commit660e15b2d125d7c54c2e2ba7da692c47e3fe88bf
treeb5f7628465a47969cef59c2d507a38066470b31c
parent1c7885f932b581fda50c1b68119a413e583141ec
vm: break: allow brk() on any region

use the user-supplied point to lookup which region to perform brk() on,
and if it's a reasonable one, do it, no matter what vm's notion of the
heap region is.
servers/vm/break.c
servers/vm/proto.h
servers/vm/region.c