]> Zhao Yanbai Git Server - minix.git/commit
VM: fix mmap region transfer range bug 26/3126/1
authorDavid van Moolenbroek <david@minix3.org>
Sun, 12 Jul 2015 17:21:38 +0000 (19:21 +0200)
committerDavid van Moolenbroek <david@minix3.org>
Thu, 17 Sep 2015 13:44:55 +0000 (13:44 +0000)
commit95cb93971a479dc5508602cf0acebc5573e19f6d
tree9aa592c38dc4910ebf2b2effd9d633160fd84c21
parenta6db4d0a62b94c81dc4e7edb0740d03b7750a70a
VM: fix mmap region transfer range bug

A missing check to see whether the range being transferred is sane
(with a starting address lower than an ending address) caused extra
memory to be marked erroneously as copy-on-write for some processes,
ultimately resulting in pagefaults on the stack during live update
rollback.

Change-Id: I1516b509b485379606d8df05b8a0f514896a0f19
minix/servers/vm/utility.c