]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Pass RPCI channel info to guestrpc command hanlders.
authorVMware, Inc <>
Wed, 18 Sep 2013 03:27:19 +0000 (20:27 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Sep 2013 05:10:48 +0000 (22:10 -0700)
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 <dtor@vmware.com>
open-vm-tools/services/plugins/dndcp/dndGuest/dndCPTransportGuestRpc.cpp

index 7eeb0135fd875eb0a176da857cbe56033e7ee19d..803bdfd5a4716fed646dc706437ae8c965bc4abe 100644 (file)
@@ -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,