Mesa (master): Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap space

Alan Coopersmith alanc at kemper.freedesktop.org
Sat Mar 7 06:07:05 UTC 2009


Module: Mesa
Branch: master
Commit: a06dd4de8756d7ebe99ed414c8d8dca5083241b8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a06dd4de8756d7ebe99ed414c8d8dca5083241b8

Author: Alan Coopersmith <alan.coopersmith at sun.com>
Date:   Wed Jul 16 12:47:27 2008 -0700

Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap space

Signed-off-by: Alan Coopersmith <alan.coopersmith at sun.com>

---

 src/mesa/main/execmem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/execmem.c b/src/mesa/main/execmem.c
index f95c318..b71846c 100644
--- a/src/mesa/main/execmem.c
+++ b/src/mesa/main/execmem.c
@@ -36,7 +36,7 @@
 
 
 
-#if defined(__linux__) || defined(__OpenBSD__) || defined(_NetBSD__)
+#if defined(__linux__) || defined(__OpenBSD__) || defined(_NetBSD__) || defined(__sun)
 
 /*
  * Allocate a large block of memory which can hold code then dole it out




More information about the mesa-commit mailing list