[llvm-commits] CVS: poolalloc/runtime/FreeListAllocator/PageManager.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Nov 10 16:46:06 PST 2003


Changes in directory poolalloc/runtime/FreeListAllocator:

PageManager.cpp updated: 1.1 -> 1.2

---
Log message:

There is no need to get execute permissions


---
Diffs of the changes:  (+1 -1)

Index: poolalloc/runtime/FreeListAllocator/PageManager.cpp
diff -u poolalloc/runtime/FreeListAllocator/PageManager.cpp:1.1 poolalloc/runtime/FreeListAllocator/PageManager.cpp:1.2
--- poolalloc/runtime/FreeListAllocator/PageManager.cpp:1.1	Mon Nov 10 16:31:11 2003
+++ poolalloc/runtime/FreeListAllocator/PageManager.cpp	Mon Nov 10 16:44:57 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