]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Fix unlocked ioctl and add proper access control
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 8 Dec 2009 11:57:51 +0000 (12:57 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 23 Dec 2009 00:05:27 +0000 (10:05 +1000)
commita019a0e0be6efbd3f1fddcf0a712a66e99209665
tree0c1b5030073b6575e363f8f7a697444674eeaf22
parentf2838083a46c8850598c976546d9ca3891cfa269
drm/vmwgfx: Fix unlocked ioctl and add proper access control

This fixes up vmwgfx for the unlocked ioctl code to avoid
doing it in the driver. Also adds ioctl flags.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c