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)
commit4649926d043205d3693551b36e2ed88a264177a5
treed83a5d0c41ee47f72af05f15582e1099e39249fc
parent64190bded3c84ed988ff620ec2f4cd858b53426c
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