drm: remove root requirement from DRM_IOCTL_SET_VERSION (+ DRM_IOCTL_AUTH_MAGIC)
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 19 Aug 2009 05:51:55 +0000 (15:51 +1000)
committerDave Airlie <airlied@linux.ie>
Wed, 19 Aug 2009 05:51:55 +0000 (15:51 +1000)
commit453a7d46dca88704ed88b364c445ff55680a8557
tree2150d2ed24e444c42d1c53d89e7f2bfbc7656286
parentcfcf4738cd6b5d7bed1473acad76d6430cf1fb0a
drm: remove root requirement from DRM_IOCTL_SET_VERSION (+ DRM_IOCTL_AUTH_MAGIC)

Just a DRM_MASTER flag is sufficient here, though maybe this call is
totally deprecated anyway (xf86-video-intel still calls it though).

(airlied: drop ioctl auth_magic as discussed on mailing list also)

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_drv.c