]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: drop DRM_AUTH from DRM_RENDER_ALLOW ioctls
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 27 May 2019 08:17:37 +0000 (09:17 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 26 Jun 2019 14:00:40 +0000 (15:00 +0100)
commiteb9739e97fb85eeb4eea2fa78de97d6518643554
treebd4a2756d52b7fced7535d4dc81423af65ea933d
parent3176ee0ad04b6944cc4d8b9706f44eccba8d3241
drm/omap: drop DRM_AUTH from DRM_RENDER_ALLOW ioctls

The authentication can be circumvented, by design, by using the render
node.

From the driver POV there is no distinction between primary and render
nodes, thus we can drop the token.

Note: the outstanding DRM_AUTH instance is:
 - (badly coped) legacy DRI1 ioctl, which is a noop

Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190527081741.14235-9-emil.l.velikov@gmail.com
drivers/gpu/drm/omapdrm/omap_drv.c