summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-09-01Update ReleaseNotes.mdHEADmasterdsouders1-0/+3
2015-09-01Adding Release NotesDouglas Souders1-0/+53
2015-08-28release 10.0.0 from build 3000743Douglas Souders401-10228/+28197
2015-08-21Update README.mdSankar A Tanguturi1-2/+2
2015-08-21Corrected URL for automakeRavindra Kumar1-1/+1
2015-06-16release 9.10.2 from build 2822639Douglas Souders41-5898/+2114
2015-03-19Fix README.mdOliver Kurth1-2/+0
Merge commit 'aaa20859c29247ca89a68f47c1a7b1a3b15bae09' into stable-9.10.x
2015-03-18Update README.mdOliver Kurth1-2/+0
2015-03-18release 9.10.0 from build 2476743Oliver Kurth1035-19360/+284508
2015-03-18Update README.mdOliver Kurth1-135/+130
2014-07-01Update README.mdDyno Hongjun Fu1-1/+1
2014-07-01Update README.mdDyno Hongjun Fu1-4/+6
2014-07-01Update README.mdDyno Hongjun Fu1-17/+15
2014-07-01Update README.mdDyno Hongjun Fu1-40/+40
try markdown
2014-07-01Create README.mdDyno Hongjun Fu1-0/+138
this is the README file inside open-vm-tools/
2013-09-22Updating open-vm-tools version for release 2013.09.16-1328054.VMware, Inc6-11/+25
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22AsyncSocket: Update AsyncSocket_GetRemoteIPAddress for IPv6 support.VMware, Inc2-24/+20
AsyncSocket_GetRemoteIPAddress offered the return of the IP in integer and string formats, none of the callers cared for the integer return so remove it. Update name appropriately AsyncSocket_GetRemoteIPAddress->AsyncSocket_GetRemoteIPStr. AsyncSocket_GetRemoteIPAddress only supported the returning of a IPv4 string, utilize Posix_GetNameInfo that uses getnameinfo which is IPv6 compliant. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22AsyncSocket: Removed unused AsyncSocket_BindUDP.VMware, Inc2-49/+0
AsyncSocket_BindUDP is unused, and looking at it I am not sure if it ever worked as described, since it did not actually bind to the port specified, just a UDP listener. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Changes in shared code that don't affect open-vm-tools functionality.VMware, Inc3-131/+124
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Allow for future use of AF_UNSPEC in AsyncSocket libraryVMware, Inc2-6/+9
Create a socketFamily switch in AsyncSocket_Connect and AsyncSocket_ConnectWebSocket for future IPv6 integration. Allow for future use of AF_UNSPEC when a connection does not care if it is AF_INET or AF_INET6. Since AsyncSocket does not fully support AF_INET6 yet and our AF_INET6 test bed is not yet completed, hard code all callers to AF_INET. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Provide a kill-switch for using vsocket in RpcChannel.VMware, Inc2-1/+19
Adding "void RpcChannel_SetBackdoorOnly(void)" API to allow to disable vsocket if needed. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Update AsyncSocketResolveAddr to allow AF_UNSPEC and AF_INET6 ai_family.VMware, Inc2-27/+62
AsyncSocketResolveAddr currently only accepts searches for AF_INET. Update it to search for AF_INET6 or both with AF_UNSPEC. Since we no longer need to return sockaddr_in for AsyncSocket_SendTo, only populate sockaddr. Also add a convenient IP string generation after resolve so all callers do not need to do the same operation tp log the IP string with port number. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22VMCI/VSOCK: Bump version 9.5 => 9.6 for next releaseVMware, Inc2-8/+8
We shipped 2013 with 9.5, so the next release will have 9.6. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Remove AsyncSocket_SendToVMware, Inc2-132/+0
Nobody is using it anymore. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Changes in shared code that don't affect open-vm-tools functionality.VMware, Inc4-18/+4
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22desktopEvents: Leave libICE rug firmly under libSM.VMware, Inc2-8/+46
While the libICE spec's section on error handling suggests applications close libICE connections in response to I/O errors, libSM (which sits atop libICE) continues to refer to such deceased libICE connections, and doing so during shutdown leads to an app crash. (libSM should've registered an I/O error handler of its own which would run before the application's, but it doesn't. Oh well.) To work around this, we'll detach the ICE connection from our application event loop but leave its handle alone. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Remove ASSERT_OR_IN_PANIC() from public/vm_assert.hVMware, Inc1-4/+0
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Get rid of ASSERT_LENGTH.VMware, Inc1-5/+2
It was used way back in ancient times in the binary translator but today no more uses remain. So let us remove this global Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Changes in shared code that don't affect open-vm-tools functionality.VMware, Inc1-1/+4
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Get rid of ASSERT_ALWAYS_AVAILABLEVMware, Inc1-6/+6
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Fix AsyncSocket reference leak when using IVmdbPollVMware, Inc2-35/+52
A reference is taken when an AsyncSocket callback is registered in IVmdbPoll to protect the AsyncSocket from being freed while the callback has been scheduled to run. That reference is released when the callback is unregistered if the callback is not going to run, or from the callback itself if it is already scheduled. The current code does not correctly handle the case when the callback unregister itself, as it needs to explicitly release the reference in that case. This change also adds a Bool to AsyncSocket so we can distinguish between send callback that is registered as a timer callback so that we know which type of callback to remove, which is necessary to keep the reference count correct. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Report correct OS name for ESXi guestsVMware, Inc1-2/+14
Prior to this change, vi client would say that the Guest OS was "Other (32 bit)" whenever Tools were running in an ESXi guest. Now, the Guest OS is reported as "VMware ESXi 5.x." Note that Tools do not run in ESXi 4.x guests. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Implement VMware Tools for ESXi 6.0 guests.VMware, Inc8-13/+93
This change provides limited VMware Tools support for ESXi 6.0 guests. The powerOps and guestInfo plugins are supported. Only IPv4 addresses are reported, since those are the only ones we can get through the vmkuser library. VMware Tools for ESXi 6.0 are packed as two VIBs on a single ISO image. One VIB contains the glib libraries that are missing from the standard ESX distribution, and the other VIB contains the tools themselves. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Harden HostinfoOSData against $PATH attacks.VMware, Inc1-4/+19
We are doing a popen("lsb_release... ") when attempting to determine host details in hostinfoPosix.c. Using popen means that $PATH is walked when looking for the lsb_release binary, and that may give an attacker the ability to run a malicious version of lsb_release. This change does two things, a) Hard code the path to lsb_release. I've searched around the web and I believe the path is always "/usr/bin/lsb_release" so let's not leave this up to chance. b) Stop running HostinfoGetCmdOutput with elevated privileges. Drop to non-root when possible. If someone sneaks in a new call to HostinfoGetCmdOutput and doesn't use a full path, then we will hopefully avoid a firedrill. I'm only applying this to Linux because the Fusion build barfed when I tried to compile with without the vmx86_linux. I think either (a) or (b) would be enough but I'm doing both, because each individually is correct. Also note that in the blog post by Tavis Ormandy calls out doing (a) as not enough, http://blog.cmpxchg8b.com/2013/08/security-debianisms.html His example uses a bash feature that allows functions to be exported. I haven't been able to get that to work on my Ubuntu machine. To test I'm manually run Linux WS and Fusion and verified that the logs look correct. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Changes in shared code that don't affect open-vm-tools functionality.VMware, Inc2-1/+16
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Fix nested logging for VmxLogger with vsocket channel.VMware, Inc3-6/+45
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22HGFS: Clean up HGFS server unpack file name V3 argumentsVMware, Inc1-33/+54
The HGFS server unpack file name argument for V3 packets generates coverity warnings as it stands. It is also just plain dubious in its usage using the out argument even when not initialized in the failure case. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Internal branch sync. Included in this change:VMware, Inc7-18/+145
. Support Linux Quiescing for vSphere Replication . changes in shared code that don't affect open-vm-tools functionality Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Change glib logging in RpcChannel to use Debug/Warning/Panic.VMware, Inc4-65/+69
Change glib logging in RpcChannel to use Debug/Warning/Panic so RpcChannel logging can be controlled by different logging stubs in different applications(rpctool/vgauth/toolsd etc). Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Add a new SetDisplayScaling RPC to the list of capabilities.VMware, Inc1-0/+2
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Changes in shared code that don't affect open-vm-tools functionality.VMware, Inc2-3/+4
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22HGFS: Make Linux client compile on kernels 3.11VMware, Inc1-180/+538
HgfsReaddir has been replaced with HgfsIterate for the newer releases of the kernel 3.11 and newer. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22HGFS: Partial fix for corruption when using different file handles to the ↵VMware, Inc2-74/+65
same file File is corrupted while our customer using two threads to read or write a file via Linux HGFS client. This is because the read handle interferes with the writes by causing a revalidation of the inode's file attributes. These were mishandled wrt to flushing out the cached pages. If the new attributes were different for modification time or file size then the pages in the cache were invalidated. This causes pages of valid data to be thrown away and the writes lost. Therefore resulting in a file with gaps of blocks of zero bytes where writes were not sent to the HGFS server. This is fixed by replicating what NFS does in this regard, which is only invalidate the cache if the HGFS server returned file size only differs from the cached inode value and only then if the new size is greater. Cleaned up the write begin and end which was initially causing problems due to very buggy code. Have now based this on simplicity from fs/libfs.c and the simple_write_begin/simple_write_end which shows what the minimal settings should do handling writes to pages and partial page writes. These can be viewed under you favorite linux source cross-reference website. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Fix AssertOnCompileFailed for GCC 4.8 (kernel 3.10+)VMware, Inc3-2/+15
GCC 4.8 now includes -Wunused-local-typedefs as part of -Wall. This causes it to spew a gazillion warnings when compiling our modules on 3.10+ kernels. Because it's a typedef we can't use the (void) cast trick, so we need to use attributes. This change introduces UNUSED_TYPE to vm_basic_types.h and uses it where appropriate to make the compiler happy when building our modules. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Change FileIO_AtomicUpdate to not close files prior to rename on Posix.VMware, Inc1-12/+26
Windows rename fails if the target files are open. Posix does not have that restriction. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22VMCI: make guest driver work with virtual IOMMUVMware, Inc4-142/+127
Right now we use vmalloc()/alloc_page() for our guest queuepair pages (and bitmap page) and then do a virt_to_phys() before passing them down to the device. That's not going to work if DMA remapping is enabled, since the IOMMU has no idea about the mappings. Switch to pci_alloc_consistent() instead. We still allocate each page individually, since there's no guarantee that we'll get a contiguous block of physical for an entire queuepair (especially since we allow up to 128 MiB!). Also made split between guest and host in the kernelIf struct much clearer. Now it's obvious which fields are which. Finally, drop the PINNED flag from Linux. That was only ever used by vVol-Filter, and that's been moved over vPageChannel, which doesn't use queuepairs but has custom rings. Once this is in I'll port it to upstream. I considered doing upstream only, but that would mean pre-3.9 guests would be unable to use IOMMU support. We should really freeze the in-house driver after this... Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Internal branch sync. Included in this change:VMware, Inc2-7/+3
. turn on vgauth for authn checks . changes in shared code that don't affect open-vm-tools functionality Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22HGFS: Linux client logging improvementsVMware, Inc1-15/+38
Add more logging for tracing file IO calls. Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Changes in shared code that don't affect open-vm-tools functionality.VMware, Inc2-2/+3
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
2013-09-22Bump up tools version to 9.6.0 for WS 10 RTM.VMware, Inc1-0/+7
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>