[libvirt] [PATCH v4 2/3] util: Introduce API's for Polkit text authentication
Daniel P. Berrange
berrange at redhat.com
Thu Feb 25 17:23:05 UTC 2016
On Thu, Feb 25, 2016 at 12:01:05PM -0500, John Ferlan wrote:
> Introduce virPolkitAgentCreate and virPolkitAgentDestroy
>
> virPolkitAgentCreate will run the polkit pkttyagent image as an asynchronous
> command in order to handle the local agent authentication via stdin/stdout.
> The code makes use of the pkttyagent --notify-fd mechanism to let it know
> when the agent is successfully registered.
>
> virPolkitAgentDestroy will close the command effectively reaping our
> child process
>
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
> src/libvirt_private.syms | 2 ++
> src/util/virpolkit.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++-
> src/util/virpolkit.h | 9 +++++
> 3 files changed, 100 insertions(+), 1 deletion(-)
ACK
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list