Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-128339

EGLFS platform: Get inputs from sd-logind without root

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.7.2
    • QPA: EGLFS
    • None
    • Linux/Yocto, Linux/Other display system

      Currently QT directly accesses input devices (such as /dev/input/event[0-9]*). This is only possible if the application is granted higher privileges or if the access modifiers of the input devices are relaxed, both workarounds have disadvantages.

      The modern solution to this is to call TakeDevice() to get a fd from systemd-logind which does not require any increased privileges.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            lagocs Laszlo Agocs
            septatrix Nils K
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes