]> code.ossystems Code Review - openembedded-core.git/commit
xserver-nodm-init: Add xuser to input group
authorDarren Hart <dvhart@linux.intel.com>
Wed, 3 Apr 2013 19:49:41 +0000 (12:49 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Apr 2013 13:00:32 +0000 (14:00 +0100)
commit150b7ac8e1c0f029b90f63424867ee5347821cf7
tree8218a6c0af46708eaa51ea46af4946e6db1ab90b
parent66c9b46f987f3e4f1f9b7b11d1ae157897454f07
xserver-nodm-init: Add xuser to input group

Fixes [YOCTO 4164](3/3)

Input devices come and go, so a single chmod in this init script is not
adequate to ensure rootless X servers can use input devices.

The o+rw method also introduces a security hole.

The newly added input group and input udev rule address this in a secure
way. Ensure the xuser is added to the input group.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Saul Wold <sgw@linux.intel.com>
Cc: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-graphics/x11-common/xserver-nodm-init.bb
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm