aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/execmem.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: include mtypes.h lessMarek Olšák2018-04-121-1/+1
| | | | | | | | | | - remove mtypes.h from most header files - add main/menums.h for often used definitions - remove main/core.h v2: fix radv build Reviewed-by: Brian Paul <[email protected]>
* mesa: move _mesa_exec_malloc/free() prototypes to their own headerBrian Paul2017-10-101-0/+1
| | | | | | | | Try to start removing things from the cluttered imports.h file. v2: add new header to Makefile.sources Reviewed-by: Roland Scheidegger <[email protected]>
* mesa: include stdio.h where neededBrian Paul2015-03-051-0/+1
| | | | | | | Instead of relying on glapi.h or some other header to provide it. Acked-by: Matt Turner <[email protected]> Reviewed-by: José Fonseca <[email protected]>
* mesa: remove empty glthread.h fileBrian Paul2014-03-031-1/+0
| | | | Reviewed-by: José Fonseca <[email protected]>
* mesa: switch to c11 mutex functionsBrian Paul2014-03-031-5/+5
| | | | Reviewed-by: José Fonseca <[email protected]>
* mesa: remove outdated version lines in commentsRico Schüller2013-06-051-1/+0
| | | | Signed-off-by: Brian Paul <[email protected]>
* Mesa: Use mmap on Haiku for executable memory vs mallocAlexander von Gluck IV2013-04-291-1/+1
| | | | * Haiku now has DEP enabled by default.
* mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke2013-04-231-3/+4
| | | | | | | | | | | | | | The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by: Brian Paul <[email protected]>
* mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke2013-04-231-1/+1
| | | | | | | | | | | | | | | This brings the license text in line with the MIT License as published on the Open Source Initiative website: http://opensource.org/licenses/mit-license.php Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by: Brian Paul <[email protected]>
* mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.Kenneth Graunke2013-04-231-1/+1
| | | | | | | | | | | | | | | | Generated automatically be the following shell command: $ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/BRIAN PAUL/THE AUTHORS/' {} The intention here is to protect all authors, not just Brian Paul. I believe that was already the sensible interpretation, but spelling it out is probably better. More practically, it also prevents people from accidentally copy & pasting the license into a new file which says Brian is not liable when he isn't even one of the authors. Reviewed-by: Brian Paul <[email protected]>
* Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg2010-02-191-1/+1
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-2/+2
|
* selinux: Fix mmap() return value checkAdam Jackson2009-09-211-4/+3
|
* mesa: update/fix doxygen commentsVinson Lee2009-03-171-1/+1
|
* Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap spaceAlan Coopersmith2009-03-061-1/+1
| | | | Signed-off-by: Alan Coopersmith <[email protected]>
* mesa: also check for __NetBSD__Blair Sadewitz2008-07-141-1/+1
|
* mesa: check for OpenBSD (bug 15604)Brian Paul2008-07-091-1/+7
|
* Trivial SELinux awareness. Enable with --enable-selinux.Adam Jackson2008-02-151-3/+19
| | | | | Avoids AVC warnings when allocating executable memory by first checking if the current process has permission to do so.
* Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian2007-07-041-1/+1
| | | | of -I flags.
* Drop XFree86Server from execmem.cGeorge Sapountzis2007-04-071-1/+1
| | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> Date: Tue Jan 24 21:40:53 2006 +0000 pull in fix from 6.4 branch for XFree86Server definition commit cc7b6810e2fe6ab485fd96d5f17bf5d9329bd153 Author: Ian Romanick <[email protected]> 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.
* Clean up previous change slightlyKeith Whitwell2006-05-101-4/+2
|
* Use a (much!) larger executable memory heap so that the glsl x86Keith Whitwell2006-05-101-2/+6
| | | | allocations succeed. I'm not sure this is really necessary...
* pull in fix from 6.4 branch for XFree86Server definitionAlan Hourihane2006-01-241-2/+1
|
* Remove the many aliases for 'struct mem_block' in mm.hKeith Whitwell2005-11-281-3/+3
|
* Lots of clean-ups. Replace __inline__ with INLINE macro. Use theBrian Paul2005-10-181-4/+53
| | | | | _mesa_calloc(), _mesa_free() functions. Clean-up formatting, doxygen-style comments.
* Add _mesa_exec_malloc() and _mesa_exec_free() for allocatingKeith Whitwell2005-10-181-0/+83
executable memory. Based on Thomas Hellstrom's patch. TODO: glapi.c also needs this, but cannot access this code.