From: David van Moolenbroek Date: Sun, 22 Nov 2009 13:06:18 +0000 (+0000) Subject: VM: don't send arbitrary status values to kernel X-Git-Tag: v3.1.6~194 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/style.css?a=commitdiff_plain;h=bdb85248d45b204cb6bf1ee6bb2e81cba3998492;p=minix.git VM: don't send arbitrary status values to kernel --- diff --git a/servers/vm/pagefaults.c b/servers/vm/pagefaults.c index 41da1ac73..208e5f63e 100644 --- a/servers/vm/pagefaults.c +++ b/servers/vm/pagefaults.c @@ -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; }