mesa/src/gallium/auxiliary/rtasm
Emil Velikov 4dd445f1cf gallium/rtasm: handle mmap failures appropriately
For a variety of reasons mmap (selinux and pax to name
a few) and can fail and with current code. This will
result in a crash in the driver, if not worse.

This has been the case since the inception of the
gallium copy of rtasm.

Cc: 9.1 9.2 10.0 <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73473
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2014-01-27 13:24:51 +00:00
..
rtasm_cpu.c s/Tungsten Graphics/VMware/ 2014-01-17 20:00:32 +00:00
rtasm_cpu.h s/Tungsten Graphics/VMware/ 2014-01-17 20:00:32 +00:00
rtasm_execmem.c gallium/rtasm: handle mmap failures appropriately 2014-01-27 13:24:51 +00:00
rtasm_execmem.h mesa: Restore 78-column wrapping of license text in C-style comments. 2013-04-23 22:07:09 -07:00
rtasm_x86sse.c mesa: Restore 78-column wrapping of license text in C-style comments. 2013-04-23 22:07:09 -07:00
rtasm_x86sse.h rtasm: Cygwin uses the msabi calling convention on x86_64 2013-10-18 14:16:56 +01:00