Skip to content

Close fd's obtained from logind

Simon Ser requested to merge github/fork/VincentVanlaer/logind-fd-leak into master

Created by: VincentVanlaer

Might be a fix for #1090 (closed).

Test plan:

  • Start rootston with DRM & logind backend.
  • Observe that rootston has fds open for /dev/input/event*.
  • Switch to another TTY and back.
  • Observe that on master those fds have doubled. Another set of fds is added each time libinput is suspended and resumed. This is no longer the case with this patch.

Merge request reports