logind: introduce CreateSessionWithPIDFD()
authorMichal Sekletar <msekleta@redhat.com>
Fri, 6 Oct 2023 10:26:44 +0000 (12:26 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 26 Oct 2023 13:28:48 +0000 (14:28 +0100)
commit76f2191d8eb54d7b9e39ab230c9c62b8a8c42265
treeaf0b379964bbb274e7112aa28095e2cb0f855b8e
parentc895d047e3789751a7e9c6b6e2eb949f04f419f1
logind: introduce CreateSessionWithPIDFD()

This new D-Bus API uses pidfd to refer to the session leader. Also,
pam_systemd will try to make use of it when pidfd support is available.
man/org.freedesktop.login1.xml
src/login/logind-dbus.c
src/login/logind-session-dbus.c
src/login/logind-session.c
src/login/logind-session.h
src/login/pam_systemd.c