]> 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)
commit8f54259f7d7cefb106851043d6526504f5810762
treed83a5d0c41ee47f72af05f15582e1099e39249fc
parent7ec1d6ee7e4970f6d1aa716a72fc06e53d5da99a
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