Merge branch 'master' of dice:git/vm

This commit is contained in:
Joel Dice 2008-01-14 16:37:41 -07:00
commit 37b33457c1

View File

@ -509,7 +509,7 @@ class MySystem: public System {
if (executable) {
void* p = mmap(0, size, PROT_EXEC | PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_ANONYMOUS | MAP_32BIT, -1, 0);
MAP_PRIVATE | MAP_ANON | MAP_32BIT, -1, 0);
if (p == MAP_FAILED) {
return 0;