]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Tighten the security around buffer maps
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 21 Nov 2012 15:04:18 +0000 (16:04 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 28 Nov 2012 10:09:08 +0000 (20:09 +1000)
commita9090c3335d87081eb599e5e23373c99d4c3650b
treeba4f33c31d5cf530c244b2ec0fa8bf5865677563
parentb89995026f12ecf2039b4741dcb2d86cf01abdcf
drm/vmwgfx: Tighten the security around buffer maps

Make sure that other DRM clients can't map the contents of
non-shareable buffer objects.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c