]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/login/pam_systemd.c
pam_systemd: support use in PID namespaces
authorJürg Billeter <j@bitron.ch>
Sat, 18 Aug 2018 07:29:43 +0000 (09:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 10 Sep 2018 17:04:21 +0000 (19:04 +0200)
commitda0da5eccf5f20874111e0681b111704bf9a1c92
treef8d5be4c1c31e6e3739314239387ed044f443874
parent3c83f159674f97791e59bf0062a465b7da1067bf
pam_systemd: support use in PID namespaces

Pass 0 as leader PID to CreateSession to let logind use the PID from the
D-Bus credentials. This allows use of pam_systemd in PID namespaces.
src/login/pam_systemd.c