]> git.ipfire.org Git - thirdparty/systemd.git/commit
polkit: on async pk requests, re-validate action/details
authorLennart Poettering <lennart@poettering.net>
Wed, 22 Jan 2020 15:52:10 +0000 (16:52 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 4 Feb 2020 17:45:22 +0000 (18:45 +0100)
commit7f56982289275ce84e20f0554475864953e6aaab
treebde66cffc02592bdf5dffd5170a801346fadf0c8
parent95f82ae9d774f3508ce89dcbdd0714ef7385df59
polkit: on async pk requests, re-validate action/details

When we do an async pk request, let's store which action/details we used
for the original request, and when we are called for the second time,
let's compare. If the action/details changed, let's not allow the access
to go through.
src/shared/bus-polkit.c