]> Zhao Yanbai Git Server - minix.git/commitdiff
temporarily disable munmap() to mask memory problem.
authorBen Gras <ben@minix3.org>
Wed, 23 Sep 2009 13:34:04 +0000 (13:34 +0000)
committerBen Gras <ben@minix3.org>
Wed, 23 Sep 2009 13:34:04 +0000 (13:34 +0000)
servers/vm/mmap.c

index 9def7b482b6a0f99f53aeae5a0b281431f282e17..dcb27b1da8d96e5b11d3bb30ced42a80ce9ead36 100644 (file)
@@ -316,6 +316,9 @@ PUBLIC int do_munmap(message *m)
 
        if(!(vmp->vm_flags & VMF_HASPT))
                return ENXIO;
+
+       /* Temporarily disable munmap() to mask memory problem. */
+       return OK;
         
        if(m->m_type == VM_MUNMAP) {
                addr = (vir_bytes) arch_vir2map(vmp, (vir_bytes) m->VMUM_ADDR);