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

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
This commit is contained in:
Alan Coopersmith 2008-07-16 12:47:27 -07:00
parent 6ebd6c898a
commit a06dd4de87

View file

@ -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