Correct a LOR issue on FreeBSD by allocating temporary space and doing a
authorEric Anholt <anholt@freebsd.org>
Tue, 8 Nov 2005 21:40:03 +0000 (21:40 +0000)
committerEric Anholt <anholt@freebsd.org>
Tue, 8 Nov 2005 21:40:03 +0000 (21:40 +0000)
commit6481a2e4cda67732ce7c6fe30aa4dc50d3cc7ed0
tree829ca6f0cbfbfd16ee81aa72bc10370711d06209
parentc7af46cf7d464ff89c64ab864fcd2af51d462812
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.
shared-core/savage_drv.h
shared-core/savage_state.c