[llvm-commits] CVS: poolalloc/runtime/PoolAllocator/PageManager.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Nov 10 16:46:04 PST 2003
Changes in directory poolalloc/runtime/PoolAllocator:
PageManager.cpp updated: 1.4 -> 1.5
---
Log message:
There is no need to get execute permissions
---
Diffs of the changes: (+1 -1)
Index: poolalloc/runtime/PoolAllocator/PageManager.cpp
diff -u poolalloc/runtime/PoolAllocator/PageManager.cpp:1.4 poolalloc/runtime/PoolAllocator/PageManager.cpp:1.5
--- poolalloc/runtime/PoolAllocator/PageManager.cpp:1.4 Sat Nov 8 21:09:21 2003
+++ poolalloc/runtime/PoolAllocator/PageManager.cpp Mon Nov 10 16:44:59 2003
@@ -56,7 +56,7 @@
#define fd -1
#endif
- void *pa = mmap(0, NumPages*PageSize, PROT_READ|PROT_WRITE|PROT_EXEC,
+ void *pa = mmap(0, NumPages*PageSize, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, fd, 0);
assert(pa != MAP_FAILED && "MMAP FAILED!");
return pa;
More information about the llvm-commits
mailing list