]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commite1f7800315d78686481b27b113a3317ac687b6bf
tree0c1b5030073b6575e363f8f7a697444674eeaf22
parent794f3141a194a4f4c28c1d417b071a901f78d9bb
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