From: VMware, Inc <> Date: Wed, 18 Sep 2013 03:27:19 +0000 (-0700) Subject: Pass RPCI channel info to guestrpc command hanlders. X-Git-Tag: 2013.09.16-1328054~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66f441a5673d90fc18c084afeb02a8e8e703a555;p=thirdparty%2Fopen-vm-tools.git Pass RPCI channel info to guestrpc command hanlders. Since now we have secure guestRpc, some commands like namespace manager needs to handle vsocket/backdoor connections differently. main changes are in guest_rpc.c, guest_rpc.h, and namespaceMgr.c. Changes in other files just function sinature changes. Signed-off-by: Dmitry Torokhov --- diff --git a/open-vm-tools/services/plugins/dndcp/dndGuest/dndCPTransportGuestRpc.cpp b/open-vm-tools/services/plugins/dndcp/dndGuest/dndCPTransportGuestRpc.cpp index 7eeb0135f..803bdfd5a 100644 --- a/open-vm-tools/services/plugins/dndcp/dndGuest/dndCPTransportGuestRpc.cpp +++ b/open-vm-tools/services/plugins/dndcp/dndGuest/dndCPTransportGuestRpc.cpp @@ -90,7 +90,7 @@ RecvMsgCB(RpcInData *data) // IN/OUT static Bool RecvMsgCB(void *clientData, - uint16 channelId, + GuestRpcChannel *chan, const unsigned char *args, uint32 argsSize, unsigned char **result,