]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Drop authentication requirement on UNREF ioctls
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 27 Feb 2014 12:24:17 +0000 (13:24 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 28 Mar 2014 13:19:03 +0000 (14:19 +0100)
commit304e5e1556c56d3a438d18375798a98b782f299b
treed83a5d0c41ee47f72af05f15582e1099e39249fc
parent7f7c6feaea60a29a2b6c63ba43ed11894f70cf4f
drm/vmwgfx: Drop authentication requirement on UNREF ioctls

These ioctls will anyway only succeed if the client previously opened
referenced the object. Furthermore, closing the client would implicitly
execute the same action. This prevents clients from blocking on UNREF if
their master dropped, and will allow masters to UNREF after dropping
master privileges.

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