[PATCH 3/7] util: Add virPolkitAgentAvailable
Ján Tomko
jtomko at redhat.com
Mon Nov 22 15:38:42 UTC 2021
On a Sunday in 2021, Martin Kletzander wrote:
>With this function we can decide whether to try running the polkit text agent
>only if it is available, removing a potential needless error saying that the
>agent binary does not exist, which is useful especially when running the agent
>before knowing whether it is going to be needed.
>
>Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
>---
> src/libvirt_private.syms | 1 +
> src/util/virpolkit.c | 44 ++++++++++++++++++++++++++++++++++++++++
> src/util/virpolkit.h | 1 +
> 3 files changed, 46 insertions(+)
>
Reviewed-by: Ján Tomko <jtomko at redhat.com>
Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20211122/474d6f69/attachment-0001.sig>
More information about the libvir-list
mailing list