]> xenbits.xensource.com Git - libvirt.git/commit
Add new error code VIR_ERROR_AUTH_CANCELLED
authorCole Robinson <crobinso@redhat.com>
Fri, 27 Jan 2012 18:06:49 +0000 (13:06 -0500)
committerCole Robinson <crobinso@redhat.com>
Fri, 27 Jan 2012 21:53:27 +0000 (16:53 -0500)
commitbb2eddc6cfb32662e42421a49239a415967659fe
tree64ac3db704ca32b89fd66eaa7f0bf6e0dc54785c
parentab6f1c9814f88e0547a5567176282f501fb138e2
Add new error code VIR_ERROR_AUTH_CANCELLED

And hook it up for policykit auth. This allows virt-manager to detect
that the user clicked the policykit 'cancel' button and not throw
an 'authentication failed' error message at the user.
daemon/remote.c
include/libvirt/virterror.h
src/util/virterror.c