diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-26 15:50:05 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-03 09:16:17 -0400 |
commit | ce9d419dbecc292cc3e06e8b1d6d123d3fa813a4 (patch) | |
tree | a65b65d58e52bb05b3f08c6610f5d6345e5f4879 /drivers/parisc/sba_iommu.c | |
parent | ab7ad7f6451580aa7eccc0ba62807c872088a8f9 (diff) |
drm/i915: Sanity check pread/pwrite
Move the access control up from the fast paths, which are no longer
universally taken first, up into the caller. This then duplicates some
sanity checking along the slow paths, but is much simpler.
Tracked as CVE-2010-2962.
Reported-by: Kees Cook <kees@ubuntu.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org
Diffstat (limited to 'drivers/parisc/sba_iommu.c')
0 files changed, 0 insertions, 0 deletions