mirror of
https://github.com/systemd/systemd.git
synced 2026-11-06 05:17:24 +00:00
When providing ad-hoc protocol upgrade support to existing programs via the `varlinkctl serve` command it is often useful/desirable to limit it to a certain polkit action. So we add a new flag called `--polkit-action=` here that does exactly this. The protocol upgrade is only allowed when the given polkit action is allowed for the user. Thanks to Lennart for suggesting this in PR#43994