]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit590eeac0ae0d921b50c3274a7116dfea00265dcd
tree78fc193a864eb8fbfad6330db6d60f33fb4a8ea9
parent258df79298c679ad85e7e3cb6f69157835735889
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