On 17 November 2016 at 15:38, Xiang, Haihao <[email protected]> wrote:
>>From: Libva [mailto:[email protected]] On Behalf Of Emil
>>Velikov
>>Sent: Tuesday, November 15, 2016 11:24 PM
>>To: [email protected]
>>Cc: Daniel Vetter <[email protected]>; David Herrmann
>><[email protected]>
>>Subject: [Libva] [PATCH] drm: remove va_drm_is_authenticated check
>>
>>If we do not use a render node we must authenticate.
>
> It is not true.  A root or master user can access /dev/dri/card0 without 
> authentication in drm.
> va_drm_is_authenticated() is used to check for this cases.
>
Surely you're not suggesting that running your video player as root is
a wise idea ;-)

Regardless, there's something _really_ fishy with libva if it needs
va_drm_is_authenticated.
Any other software out there does not need to (or do so) - some
examples include Xorg, Wayland and other Weston compositors, Mesa, IGT
(a ton of GPU tests) ... be that as root, user or otherwise.

Emil
_______________________________________________
Libva mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to