[PATCH 1/2] drm: vc4: set permissions for ioctls

2016-06-14 Thread Emil Velikov
On 10 June 2016 at 21:08, Eric Anholt wrote: > Emil Velikov writes: > >> On 10 June 2016 at 00:42, Eric Anholt wrote: >>> Rob Herring writes: >>> Ioctls generally have DRM_AUTH and DRM_RENDER_ALLOW set to restrict them to authorized clients and render nodes. Without this, access from

[PATCH 1/2] drm: vc4: set permissions for ioctls

2016-06-14 Thread Eric Anholt
Emil Velikov writes: > On 10 June 2016 at 21:08, Eric Anholt wrote: >> Emil Velikov writes: >> >>> On 10 June 2016 at 00:42, Eric Anholt wrote: Rob Herring writes: > Ioctls generally have DRM_AUTH and DRM_RENDER_ALLOW set to restrict them > to authorized clients and render n

[PATCH 1/2] drm: vc4: set permissions for ioctls

2016-06-10 Thread Eric Anholt
Emil Velikov writes: > On 10 June 2016 at 00:42, Eric Anholt wrote: >> Rob Herring writes: >> >>> Ioctls generally have DRM_AUTH and DRM_RENDER_ALLOW set to restrict them >>> to authorized clients and render nodes. Without this, access from render >>> nodes fails. >> >> We've already got a fix

[PATCH 1/2] drm: vc4: set permissions for ioctls

2016-06-10 Thread Emil Velikov
On 10 June 2016 at 00:42, Eric Anholt wrote: > Rob Herring writes: > >> Ioctls generally have DRM_AUTH and DRM_RENDER_ALLOW set to restrict them >> to authorized clients and render nodes. Without this, access from render >> nodes fails. > > We've already got a fix to add RENDER_ALLOW submitted in

[PATCH 1/2] drm: vc4: set permissions for ioctls

2016-06-10 Thread Emil Velikov
Hi Rob, On 9 June 2016 at 22:19, Rob Herring wrote: > Ioctls generally have DRM_AUTH and DRM_RENDER_ALLOW set to restrict them > to authorized clients and render nodes. Without this, access from render > nodes fails. > > Signed-off-by: Rob Herring > --- > drivers/gpu/drm/vc4/vc4_drv.c | 18

[PATCH 1/2] drm: vc4: set permissions for ioctls

2016-06-09 Thread Eric Anholt
Rob Herring writes: > Ioctls generally have DRM_AUTH and DRM_RENDER_ALLOW set to restrict them > to authorized clients and render nodes. Without this, access from render > nodes fails. We've already got a fix to add RENDER_ALLOW submitted in the latest drm-vc4-fixes. There's no reason to requir

[PATCH 1/2] drm: vc4: set permissions for ioctls

2016-06-09 Thread Rob Herring
Ioctls generally have DRM_AUTH and DRM_RENDER_ALLOW set to restrict them to authorized clients and render nodes. Without this, access from render nodes fails. Signed-off-by: Rob Herring --- drivers/gpu/drm/vc4/vc4_drv.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) d