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.
(cherry picked from commit
7f56982289275ce84e20f0554475864953e6aaab)
(cherry picked from commit
0697d0d972c8d91395eb539a8e87e4aec8b37b75)
(cherry picked from commit
54791aff01aa93a8b621808d80ab506b54f245c8)
(cherry picked from commit
70d0f5ea5952a0cedd84c352070613df4ba5fc8f)
Gbp-Pq: Name polkit-on-async-pk-requests-re-validate-action-details.patch