drm/vmwgfx: Tighten the security around buffer maps
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 19 Mar 2014 14:06:21 +0000 (15:06 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 28 Mar 2014 13:19:04 +0000 (14:19 +0100)
commitf6dfe73abf3ae528b8c631d37739e6d61894c0b2
tree78fc193a864eb8fbfad6330db6d60f33fb4a8ea9
parent0d3215e3857ab679f74c9b26b7e711955c9d0438
drm/vmwgfx: Tighten the security around buffer maps

Make sure only buffer objects that are referenced by the client can be mapped.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c