]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Set the current client identity during API call dispatch
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 23 Jan 2012 15:07:15 +0000 (15:07 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 19 Mar 2013 13:52:06 +0000 (13:52 +0000)
commitebf78be4c277cffae57d99daa199a9b3c1cf9804
tree55990fe5789090ccac0a877268189d62910d6f16
parentd5e83ad9b7c74e434349ede076dc573a3cc50384
Set the current client identity during API call dispatch

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@redhat.com>
src/rpc/virnetserverprogram.c