From: Ben Gras Date: Wed, 23 Sep 2009 13:34:04 +0000 (+0000) Subject: temporarily disable munmap() to mask memory problem. X-Git-Tag: v3.1.5~93 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=74616a057ba861eaf7256508fcf9418956675dcf;p=minix.git temporarily disable munmap() to mask memory problem. --- diff --git a/servers/vm/mmap.c b/servers/vm/mmap.c index 9def7b482..dcb27b1da 100644 --- a/servers/vm/mmap.c +++ b/servers/vm/mmap.c @@ -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);