]> Zhao Yanbai Git Server - minix.git/commitdiff
VM: don't send arbitrary status values to kernel
authorDavid van Moolenbroek <david@minix3.org>
Sun, 22 Nov 2009 13:06:18 +0000 (13:06 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Sun, 22 Nov 2009 13:06:18 +0000 (13:06 +0000)
servers/vm/pagefaults.c

index 41da1ac736ca425b462e9c9abb39c7f465724f6e..208e5f63e836e3e18a9c0b05ed73c9692fe60059 100644 (file)
@@ -218,4 +218,6 @@ int handle_memory(struct vmproc *vmp, vir_bytes mem, vir_bytes len, int wrflag)
                        arch_map2vir(vmp, mem), arch_map2vir(vmp, mem+len),
                        vmp->vm_endpoint);
        }
+
+       return r;
 }