make kernel leave a page-sized gap in its code and data to not be

mapped in if so configured.
This commit is contained in:
Ben Gras
2008-12-18 14:30:55 +00:00
parent 834d9d34e8
commit f0000078c3
4 changed files with 32 additions and 2 deletions
+5
View File
@@ -11,6 +11,7 @@
#include "../vm.h"
#include "../debug.h"
#include <minix/type.h>
#include <minix/config.h>
/*===========================================================================*
* do_vmctl *
@@ -92,6 +93,10 @@ kprintf("SYSTEM: request %d:0x%lx-0x%lx, wrflag %d, failed\n",
}
#endif
return OK;
#if VM_KERN_NOPAGEZERO
case VMCTL_NOPAGEZERO:
return OK;
#endif
case VMCTL_STACKTRACE:
kprintf("vmctl stacktrace ");
proc_stacktrace(p);