]> git.ipfire.org Git - thirdparty/systemd.git/commit
polkit: add new POLKIT_ALWAYS_QUERY flag
authorLennart Poettering <lennart@poettering.net>
Wed, 28 Feb 2024 20:31:53 +0000 (21:31 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 13 Mar 2024 09:42:27 +0000 (10:42 +0100)
commitf5a12ceaedf4d490a9dc82e9460dd6fd97acc942
tree1de009eb7e3f4e75e739f2e763ee3907575c71c3
parentb9632ec42f58366efe629683c4c351865272c2df
polkit: add new POLKIT_ALWAYS_QUERY flag

When this flag is set we'll disable the local shortcut that skips polkit
checks for clients that are privileged, and assumes they are
authenticated.

Or in other words: if this flag is set, we'll query PK not matter what,
regardless if it's root we talk about or any other user.
src/shared/bus-polkit.c
src/shared/bus-polkit.h