[libvirt] [PATCH v2 6/6] Set the current client identity during API call dispatch

Jiri Denemark jdenemar at redhat.com
Tue Mar 19 11:22:29 UTC 2013


On Wed, Mar 13, 2013 at 15:24:05 +0000, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> When dispatching an RPC API call, setup the current identity to
> hold the identity of the network client associated with the
> RPC message being dispatched. The setting is thread-local, so
> only affects the API call in this thread
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/rpc/virnetserverprogram.c | 12 ++++++++++++
>  1 file changed, 12 insertions(+)

ACK

Jirka




More information about the libvir-list mailing list