]> git.ipfire.org Git - thirdparty/systemd.git/commit
bus-polkit: don't return positive in varlink_verify_polkit_async() just because we... 30961/head
authorLennart Poettering <lennart@poettering.net>
Tue, 16 Jan 2024 12:27:32 +0000 (13:27 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 16 Jan 2024 12:59:49 +0000 (13:59 +0100)
commite96202fa5da8292b6ff5b3845ed53672d69b1055
tree87430c4f0b0f4f9cb2c72c191ddfa52a0a608bff
parent0ca9a447997ca35fa1b35e209e3d4c6c4acf7202
bus-polkit: don't return positive in varlink_verify_polkit_async() just because we already sent an error reply

A positive return value means "access granted", hence if we already
reply to the method call don't accidentally return positive.

Follow-up for: d04c1a1c8e7c95daa483d8d52d5fc4c25fbc67f2
src/shared/bus-polkit.c