[Dev] Input device files group
casey.schaufler at intel.com
Tue Oct 28 14:37:14 GMT 2014
> -----Original Message-----
> From: Dev [mailto:dev-bounces at lists.tizen.org] On Behalf Of Stéphane
> Sent: Tuesday, October 28, 2014 6:51 AM
> Cc: dev at lists.tizen.org
> Subject: Re: [Dev] Input device files group
> Hi Lukasz,
> Sorry for having merged the changes so quickly (30mn for weston-common,
> though). I thought that such a small change didn't deserve so much
Setting the groups on a device special file is important
because of the way we are enforcing application privilege,
especially in the context of native applications.
> Also, I'm not sure that the rules for defining the permissions on such
> devices should be global. And currently, you'll notice that every
> profile is free to define the permissions as needed (because
> weston-common or x11-common are packages specific to Tizen:Common,
> supposed to be inherited directly in a Tizen profile.
Part of the "as needed" requirement is going to depend on
the application privileges. Sure, some devices will provide
different "resources" in different profiles, but that has to be
coordinated with the privilege definitions.
> Why not specifying the input rules where the 'input' group is defined ?
> Stéphane Desneux
> Intel OTC - Vannes/FR
> On 28/10/2014 13:28, Lukasz Pawelczyk wrote:
> > On wto, 2014-10-28 at 12:06 +0100, Stéphane Desneux wrote:
> >> Hi Lukasz,
> >> Thanks for the notice. This should be fixed in all images of
> >> Tizen:Common. Please review:
> >> x11: https://review.tizen.org/gerrit/29478
> >> wayland: https://review.tizen.org/gerrit/29473
> > This should be in (systemd-)udev, not in X/wayland.
> > Those are kernel interfaces (evdev, mousedev, joydev, etc) and while
> > they are used by X/wayland they are not even close to being specific for
> > them. Other things might use them as well (GPM, security-containers,
> > etc).
> > And the review lasted 10 minutes and got merged, nice. No chance to
> > comment anything.
> Dev mailing list
> Dev at lists.tizen.org
More information about the Dev