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

EGLFS platform: Get inputs from sd-logind without root

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes