summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_cache.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-01-10 18:00:17 +0000
committerEmil Velikov <[email protected]>2014-01-27 13:24:51 +0000
commit4dd445f1cf80292f10eda53665cefc2a674d838d (patch)
tree9b3694b5cdac5b0ed6dbb29a2cc0601d870e2ea2 /src/gallium/auxiliary/util/u_cache.c
parente5e4120723f7aa927faadca96910d4e8cbd99f40 (diff)
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 <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73473 Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_cache.c')
0 files changed, 0 insertions, 0 deletions