Because I couldn't find any other interface in the source code, I
enabled SHMConfig by default again.

Although permissions (for the shared memory) is set to 0770.

I also introduced a new option, "SHMGroup", set by default to "admin".
When SHMConfig is on, the shared memory area will belong to the GID of this 
group. If the group does not exists, it falls back to 0 (root).

This way any user in the SHMGroup is able to configure the touchpad.
Also the first user in a default install, without modifying xorg.conf.

This can no longer be considered as a security risk, because all members
of the group "admin" (default SHMGroup value) are able to use sudo (with
their own passwords) by default, so they could do "nasty things" either
way.

This change is documented. I also updated synclient and syndaemon to
handle a permission denied on the shared memory.

Patch attached.

** Attachment added: "xfree86-driver-synaptics.diff"
   http://launchpadlibrarian.net/12437763/xfree86-driver-synaptics.diff

** Changed in: xserver-xorg-input-synaptics (Ubuntu)
     Assignee: (unassigned) => Gabor CZIGOLA (gab++)
       Status: Won't Fix => New

-- 
SHMConfig should be enabled by default, and gsynaptics should be installed by 
default on laptops
https://bugs.launchpad.net/bugs/155937
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to