]> git.ipfire.org Git - thirdparty/systemd.git/commit
bus-polkit: allow to auth. a bus call for multiple actions
authorDavid Tardon <dtardon@redhat.com>
Thu, 29 Jun 2023 14:35:21 +0000 (16:35 +0200)
committerDavid Tardon <dtardon@redhat.com>
Thu, 13 Jul 2023 14:40:05 +0000 (16:40 +0200)
commit2f50a4f38fd347364f3072eb820cea2b91420543
tree9fc619111d793cfb165aaea05535bb9fc2a732fe
parent959301cf9f42418314abf027183dc25c08731b82
bus-polkit: allow to auth. a bus call for multiple actions

In #20155, verify_shutdown_creds() needs to authenticate for both
org.freedesktop.login1.hibernate-multiple-sessions and
org.freedesktop.login1.hibernate-ignore-inhibit . Previously, the second
authentication attempt would fail with -ESTALE.

Fixes #20155.
src/shared/bus-polkit.c