[meta-freescale] [meta-fsl-arm][PATCH v2] udev-extraconf: allow all users to use gpu

Otavio Salvador otavio at ossystems.com.br
Fri Nov 28 07:25:14 PST 2014


On Tue, Nov 25, 2014 at 11:04 AM, Alexander Shashkevych
<alex at stunpix.com> wrote:
>> 2. Allow all users? Note that /dev/dri/card0 has root:video as
>> read/write accessors
>
> In your patch you have had added /dev/galcore to "video" group, but at
> same time you granted access to all users with mode 0666. In my case I
> just added 0666 mode to "galcore" without group as it was done for
> "mxc_vpu" and "mxc_ipu" devices, so our patches functionally
> equivalent.
>
> If group "video" with 0660 permissions is more correct for graphic
> devices, then we must to update all of them: /dev/fb*, /dev/mxc_*,
> /dev/dri/card*, because at the moment they all have 0666 permissions,
> but groups are different.

I think those belong to video group; this allow for a more safe
application as it cannot exploit the user interface and mess up with
fb area.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list