pam_systemd: always check if session is busy
authorMike Yuan <me@yhndnzj.com>
Fri, 19 Jan 2024 12:00:31 +0000 (20:00 +0800)
committerMike Yuan <me@yhndnzj.com>
Fri, 19 Jan 2024 12:08:39 +0000 (20:08 +0800)
commit2948803177bf5027c1808a9a55481c45dd91624c
tree13d4ea34b0470fef07fc0f1ae078c55eb082db33
parent79f36b64159708cf2b261207f007fe980e6dfaa5
pam_systemd: always check if session is busy

We need to check for BUS_ERROR_SESSION_BUSY no matter
whether pidfd is used, i.e. after we retry with
CreateSession().
src/login/pam_systemd.c