> There is a similar problem for the drm devices (by default, users can’t > use 3D acceleration). A devfs.conf policy can change the permissions. I’d > suggest that we create a default group called something like console or > local, put new users there by default, and make drm and evdev devices > accessible by this group. > > David > > Actually in Linux wlc and I think also Weston recommend using setuid for the compositor. It then forks and drops permission. All devices are opened as superuser and then sent to the child process. This works fine for me with tty and drm, however, libinput complains about devices not being tagged as input device but they are opened successfully. I haven't looked deeper into why... As for X11, maybe this approach does not work and we need group permissions. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。 もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、 複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。 --- CONFIDENTIALITY NOTE: The information in this email is confidential and intended solely for the addressee. Disclosure, copying, distribution or any other action of use of this email by person other than intended recipient, is prohibited. If you are not the intended recipient and have received this email in error, please destroy the original message.Received on Fri Aug 12 2016 - 15:09:28 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:07 UTC