summaryrefslogtreecommitdiff
path: root/src/mesa/main/execmem.c
AgeCommit message (Collapse)Author
2010-02-19Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2009-09-21selinux: Fix mmap() return value checkAdam Jackson
2009-03-17mesa: update/fix doxygen commentsVinson Lee
2009-03-06Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap spaceAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2008-07-14mesa: also check for __NetBSD__Blair Sadewitz
2008-07-09mesa: check for OpenBSD (bug 15604)Brian Paul
2008-02-15Trivial SELinux awareness. Enable with --enable-selinux.Adam Jackson
Avoids AVC warnings when allocating executable memory by first checking if the current process has permission to do so.
2007-07-04Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian
of -I flags.
2007-04-07Drop XFree86Server from execmem.cGeorge Sapountzis
This is a remnant from the libcwrapper days that can be removed now. It is the last XFree86 glitch in Mesa core. Reverts the following commit (thanks to Brian Paul for pointing to it): commit 8b1dc68662f2a18ea4e02c6d3247c5d1da741aa8 Author: Alan Hourihane <alanh@tungstengraphics.com> Date: Tue Jan 24 21:40:53 2006 +0000 pull in fix from 6.4 branch for XFree86Server definition commit cc7b6810e2fe6ab485fd96d5f17bf5d9329bd153 Author: Ian Romanick <idr@us.ibm.com> Date: Fri Oct 21 18:09:24 2005 +0000 Make execmem.c compile in the server (libGLcore). Since xf86mmap doesn't know about MAP_ANONYMOUS, this is the only viable fix. This issue will likely have to be revisited at some point.
2006-05-10Clean up previous change slightlyKeith Whitwell
2006-05-10Use a (much!) larger executable memory heap so that the glsl x86Keith Whitwell
allocations succeed. I'm not sure this is really necessary...
2006-01-24pull in fix from 6.4 branch for XFree86Server definitionAlan Hourihane
2005-11-28Remove the many aliases for 'struct mem_block' in mm.hKeith Whitwell
2005-10-18Lots of clean-ups. Replace __inline__ with INLINE macro. Use theBrian Paul
_mesa_calloc(), _mesa_free() functions. Clean-up formatting, doxygen-style comments.
2005-10-18Add _mesa_exec_malloc() and _mesa_exec_free() for allocatingKeith Whitwell
executable memory. Based on Thomas Hellstrom's patch. TODO: glapi.c also needs this, but cannot access this code.