summaryrefslogtreecommitdiff
path: root/bsd-core/drm_memory.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-11-08 21:40:03 +0000
committerEric Anholt <anholt@freebsd.org>2005-11-08 21:40:03 +0000
commit6481a2e4cda67732ce7c6fe30aa4dc50d3cc7ed0 (patch)
tree829ca6f0cbfbfd16ee81aa72bc10370711d06209 /bsd-core/drm_memory.c
parentc7af46cf7d464ff89c64ab864fcd2af51d462812 (diff)
Correct a LOR issue on FreeBSD by allocating temporary space and doing a
single DRM_COPY_FROM_USER rather than DRM_VERIFYAREA_READ followed by tons of DRM_COPY_FROM_USER_UNCHECKED. I don't like the look of the temporary space allocation, but I like the simplification in the rest of the file. Tested with glxgears, tuxracer, and q3 on a savage4.
Diffstat (limited to 'bsd-core/drm_memory.c')
0 files changed, 0 insertions, 0 deletions