[libvirt] [PATCH v4 2/3] util: Introduce API's for Polkit text authentication

2016-02-25 Thread John Ferlan
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

Re: [libvirt] [PATCH v4 2/3] util: Introduce API's for Polkit text authentication

2016-02-25 Thread Daniel P. Berrange
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 us