]> git.ipfire.org Git - thirdparty/open-vm-tools.git/log
thirdparty/open-vm-tools.git
6 years agoMerge branch 'stable-11.0.x'
Oliver Kurth [Mon, 21 Oct 2019 22:30:15 +0000 (15:30 -0700)] 
Merge branch 'stable-11.0.x'

6 years agoupdate version to 11.0.1 stable-11.0.1
Oliver Kurth [Mon, 21 Oct 2019 21:58:04 +0000 (14:58 -0700)] 
update version to 11.0.1

6 years agoupdate ChangeLog
Oliver Kurth [Mon, 21 Oct 2019 21:57:31 +0000 (14:57 -0700)] 
update ChangeLog

6 years agoupdate Release Notes
Oliver Kurth [Mon, 21 Oct 2019 21:57:07 +0000 (14:57 -0700)] 
update Release Notes

6 years agoFix leaks in ListAliases and ListMappedAliases.
Oliver Kurth [Thu, 3 Oct 2019 00:48:35 +0000 (17:48 -0700)] 
Fix leaks in ListAliases and ListMappedAliases.

The 'record' for each alias was being leaked.

6 years agoFix leaks in ListAliases and ListMappedAliases.
Oliver Kurth [Thu, 3 Oct 2019 00:48:35 +0000 (17:48 -0700)] 
Fix leaks in ListAliases and ListMappedAliases.

The 'record' for each alias was being leaked.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Thu, 3 Oct 2019 00:48:35 +0000 (17:48 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoCommon source file change not directly applicable to open-vm-tools.
Oliver Kurth [Thu, 3 Oct 2019 00:48:35 +0000 (17:48 -0700)] 
Common source file change not directly applicable to open-vm-tools.

Backing out previous change.

6 years agoCommon source file changes not directly applicable to open-vm-tools.
Oliver Kurth [Thu, 3 Oct 2019 00:48:35 +0000 (17:48 -0700)] 
Common source file changes not directly applicable to open-vm-tools.

6 years agoCommon source file changes not directly applicable to open-vm-tools.
Oliver Kurth [Thu, 3 Oct 2019 00:48:35 +0000 (17:48 -0700)] 
Common source file changes not directly applicable to open-vm-tools.

6 years agoCommon source file changes not directly applicable to open-vm-tools.
Oliver Kurth [Thu, 3 Oct 2019 00:48:34 +0000 (17:48 -0700)] 
Common source file changes not directly applicable to open-vm-tools.

6 years agoCommon header file changes not directly applicable to open-vm-tools.
Oliver Kurth [Thu, 3 Oct 2019 00:48:34 +0000 (17:48 -0700)] 
Common header file changes not directly applicable to open-vm-tools.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Thu, 3 Oct 2019 00:48:34 +0000 (17:48 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoMove /etc/vmware-tools/vm-support to /usr/bin/ in open-vm-tools.
Oliver Kurth [Thu, 3 Oct 2019 00:48:34 +0000 (17:48 -0700)] 
Move /etc/vmware-tools/vm-support to /usr/bin/ in open-vm-tools.

Change scripts/Makefile.am to know about the new location.

This fix requires the following updates to the vendor scripts:
The rules files have "chmod /etc/vmware-tools/vm-support".
The spec files have "mv /etc/vmware-tools/vm-support /usr/bin".

6 years agoCommon source file changes not directly applicable to open-vm-tools.
Oliver Kurth [Thu, 3 Oct 2019 00:48:34 +0000 (17:48 -0700)] 
Common source file changes not directly applicable to open-vm-tools.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Thu, 3 Oct 2019 00:48:34 +0000 (17:48 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Thu, 3 Oct 2019 00:48:34 +0000 (17:48 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoCommon source file change not directly applicable to open-vm-tools.
Oliver Kurth [Thu, 3 Oct 2019 00:48:34 +0000 (17:48 -0700)] 
Common source file change not directly applicable to open-vm-tools.

Hostinfo: Improve ESXi recognition

6 years agoFix AliasSafeRenameFiles() in vgauth/serviceImpl/alias.c
Oliver Kurth [Thu, 3 Oct 2019 00:48:33 +0000 (17:48 -0700)] 
Fix AliasSafeRenameFiles() in vgauth/serviceImpl/alias.c

If the alias mapfile was empty, the updated alias file was not properly
saved (renamed).  This issues has been fixed.

6 years agoCommon header file change not directly applicable to open-vm-tools.
Oliver Kurth [Thu, 3 Oct 2019 00:48:32 +0000 (17:48 -0700)] 
Common header file change not directly applicable to open-vm-tools.

6 years agolib/file: Close on exec bit tested incorrectly
Oliver Kurth [Mon, 30 Sep 2019 23:24:27 +0000 (16:24 -0700)] 
lib/file: Close on exec bit tested incorrectly

The test should be on access, not flags.

6 years agoCommon source file change not directly applicable to open-vm-tools.
Oliver Kurth [Mon, 30 Sep 2019 23:24:27 +0000 (16:24 -0700)] 
Common source file change not directly applicable to open-vm-tools.

6 years agoAdd a Coverity annotation to lib/vmGuestLib/vmGuestLib.c
Oliver Kurth [Mon, 30 Sep 2019 23:24:27 +0000 (16:24 -0700)] 
Add a Coverity annotation to lib/vmGuestLib/vmGuestLib.c

A previous change adding Coverity annotations to vmGuestLib.c
omitted one.  Adding for completeness although it does not actually
affect Coverity results.

6 years agoFlipped the default value of config option "hgfs.packetSize.large" to TRUE.
Oliver Kurth [Mon, 30 Sep 2019 23:24:27 +0000 (16:24 -0700)] 
Flipped the default value of config option "hgfs.packetSize.large" to TRUE.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Mon, 30 Sep 2019 23:24:27 +0000 (16:24 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Mon, 30 Sep 2019 23:24:27 +0000 (16:24 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoFix potential overflow in timeSync reported by Coverity
Oliver Kurth [Mon, 30 Sep 2019 23:24:27 +0000 (16:24 -0700)] 
Fix potential overflow in timeSync reported by Coverity

Issue: Potentially overflowing expression: data->timeSyncPeriod * 1000000U
       is evaluated using 32-bit arithmetic, and then used in a context
       that expects an expression of type uint64.
Fix: explict type conversion.

6 years agoGitHub Issue #367. Remove references to deprecated G_INLINE_FUNC.
Oliver Kurth [Mon, 30 Sep 2019 23:24:27 +0000 (16:24 -0700)] 
GitHub Issue #367. Remove references to deprecated G_INLINE_FUNC.

G_INLINE_FUNC was a work-around for compilers that didn't support
static inline.  Change uses of it to static inline.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Mon, 30 Sep 2019 23:24:27 +0000 (16:24 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agosync files from stable-11.0.0
Oliver Kurth [Fri, 20 Sep 2019 23:14:08 +0000 (16:14 -0700)] 
sync files from stable-11.0.0

6 years agoMerge tag 'stable-11.0.0'
Oliver Kurth [Fri, 20 Sep 2019 23:10:09 +0000 (16:10 -0700)] 
Merge tag 'stable-11.0.0'

6 years agoupdate ChangeLog stable-11.0.0
Oliver Kurth [Fri, 20 Sep 2019 20:28:29 +0000 (13:28 -0700)] 
update ChangeLog

6 years agorelease notes for 11.0.0
Oliver Kurth [Fri, 20 Sep 2019 20:11:24 +0000 (13:11 -0700)] 
release notes for 11.0.0

6 years agoupdate copyright header for lib/include/vmware/guestrpc/tclodefs.h
Oliver Kurth [Fri, 20 Sep 2019 18:08:35 +0000 (11:08 -0700)] 
update copyright header for lib/include/vmware/guestrpc/tclodefs.h

6 years agoupdate build number for release
Oliver Kurth [Fri, 20 Sep 2019 18:07:16 +0000 (11:07 -0700)] 
update build number for release

6 years agoFix Misc. issues in vmtoolsLog.c
Oliver Kurth [Mon, 9 Sep 2019 18:23:49 +0000 (11:23 -0700)] 
Fix Misc. issues in vmtoolsLog.c

* g_malloc0 aborts the application if the specificed amount of memory
  cannot be allocated. Hence, no need to have a NULL check for the
  return value of g_malloc0.

* Removed one if block in VMToolsLogInt since the if check will never
  be TRUE.

* g_strdup returns NULL if the input argument is NULL. Removed
  the unnecessary NULL checks for the input argument to g_strdup at few
  places.

6 years ago[AppInfo] OVT Coverity fixes.
Oliver Kurth [Mon, 9 Sep 2019 18:23:49 +0000 (11:23 -0700)] 
[AppInfo] OVT Coverity fixes.

The return value of Str_Snprintf is not being checked for negative
values and is directly passed to DynBuf_Append which accepts only
positive values. This may cause issues if Str_Snprintf fails. Added
a trivial check.

Initialized appList variable to NULL.

6 years agoBackout the previous AppInfo OVT Coverity fix.
Oliver Kurth [Mon, 9 Sep 2019 18:23:49 +0000 (11:23 -0700)] 
Backout the previous AppInfo OVT Coverity fix.

6 years ago[AppInfo] OVT Coverity fixes.
Oliver Kurth [Mon, 9 Sep 2019 18:23:49 +0000 (11:23 -0700)] 
[AppInfo] OVT Coverity fixes.

The return value of Str_Snprintf is not being checked for negative
values and is directly passed to DynBuf_Append which accepts only
positive values. This may cause issues if Str_Snprintf fails. Added
a trivial check.

6 years agoAdd missing copyright header.
Oliver Kurth [Mon, 9 Sep 2019 18:23:49 +0000 (11:23 -0700)] 
Add missing copyright header.

The copyright header is missing in one of the files (Makefile.am)
that is bundled in open-vm-tools tar file. Added the necessary
copyright header.

6 years agoCommon header file change not directly applicable to open-vm-tools.
Oliver Kurth [Mon, 9 Sep 2019 18:23:49 +0000 (11:23 -0700)] 
Common header file change not directly applicable to open-vm-tools.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Mon, 9 Sep 2019 18:23:49 +0000 (11:23 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoFix Coverity scan issues in open-vm-tools.
Oliver Kurth [Mon, 9 Sep 2019 18:23:49 +0000 (11:23 -0700)] 
Fix Coverity scan issues in open-vm-tools.

6 years agoInclude AppInfo related files in Tools OVT
Oliver Kurth [Mon, 9 Sep 2019 18:23:49 +0000 (11:23 -0700)] 
Include AppInfo related files in Tools OVT

This changeset contains the necessary changes to include appinfo plugin
related files in Tools OVT bundle.

6 years agoFix the deployPkg status files when privateTmp is enabled
Oliver Kurth [Mon, 9 Sep 2019 18:23:49 +0000 (11:23 -0700)] 
Fix the deployPkg status files when privateTmp is enabled

Currently, deployPkg status file path is hardcoded to /tmp.  When
privateTmp is enabled in the guest VM, /tmp is hidden from the rest
of the system and is wiped on reboot.  So need use different path to
save the status file.

This change is changing deployPkg status file path from /tmp to /var/log

6 years agoBackout previous common header file change.
Oliver Kurth [Mon, 9 Sep 2019 18:23:48 +0000 (11:23 -0700)] 
Backout previous common header file change.

6 years agoCommon header file change not directly applicable to open-vm-tools.
Oliver Kurth [Mon, 9 Sep 2019 18:23:48 +0000 (11:23 -0700)] 
Common header file change not directly applicable to open-vm-tools.

6 years agoMore Coverity annotations for open-vm-tools issues.
Oliver Kurth [Mon, 9 Sep 2019 18:23:48 +0000 (11:23 -0700)] 
More Coverity annotations for open-vm-tools issues.

Add annotations for additional Coverity-reported issues so that
Coverity scans of ovt will automatically classify these issues
as "intentional."  Such annotations are useful both for internal
use as well as for partners who run Coverity scans of open-vm-tools.

6 years agoBackout previous default "hgfs.packetSize.large" setting
Oliver Kurth [Mon, 9 Sep 2019 18:23:48 +0000 (11:23 -0700)] 
Backout previous default "hgfs.packetSize.large" setting

The default value of config option "hgfs.packetSize.large" is now FALSE.

6 years agoCommon header file change not directly applicable to open-vm-tools.
Oliver Kurth [Mon, 9 Sep 2019 18:23:48 +0000 (11:23 -0700)] 
Common header file change not directly applicable to open-vm-tools.

6 years agoDue to a quirk the way patches were generated, the 'coomon-agent' directory was not...
Oliver Kurth [Fri, 30 Aug 2019 00:14:39 +0000 (17:14 -0700)] 
Due to a quirk the way patches were generated, the 'coomon-agent' directory was not removed as intended, but just contained empty files

6 years agoDue to a quirk the way patches were generated, the 'coomon-agent' directory was not...
Oliver Kurth [Fri, 30 Aug 2019 00:13:05 +0000 (17:13 -0700)] 
Due to a quirk the way patches were generated, the 'coomon-agent' directory was not removed as intended, but just contained empty files

6 years agotools.conf example: add vss.disableAppQuiescing
Oliver Kurth [Thu, 29 Aug 2019 22:47:06 +0000 (15:47 -0700)] 
tools.conf example: add vss.disableAppQuiescing

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Thu, 29 Aug 2019 22:47:06 +0000 (15:47 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoSupporting HGFS large IO/packet size
Oliver Kurth [Thu, 29 Aug 2019 22:47:06 +0000 (15:47 -0700)] 
Supporting HGFS large IO/packet size

Tools side changes to take advantage of a negotiated larger HGFS IO
buffer when available in the Fusion or Workstation host.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Thu, 29 Aug 2019 22:47:05 +0000 (15:47 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years ago[OVT] Update copyright year to 2019.
Oliver Kurth [Thu, 29 Aug 2019 22:47:04 +0000 (15:47 -0700)] 
[OVT] Update copyright year to 2019.

A new version of VMware Tools 11.0.0 will be released in 2019.  All
applicable files need to stamped with a 2019 copyright year.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Tue, 27 Aug 2019 19:55:38 +0000 (12:55 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoTrack recent VMware Tools version numbers used for 10.3.x patches
Oliver Kurth [Tue, 27 Aug 2019 19:55:38 +0000 (12:55 -0700)] 
Track recent VMware Tools version numbers used for 10.3.x patches

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Tue, 27 Aug 2019 19:55:38 +0000 (12:55 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoMore Coverity annotations for open-vm-tools.
Oliver Kurth [Tue, 27 Aug 2019 19:55:38 +0000 (12:55 -0700)] 
More Coverity annotations for open-vm-tools.

Add Coverity annotations for four additional issues so that Coverity
scans of open-vm-tools will automatically classify these issues as
"intentional."  Such annotations are useful both for internal use as
well as for partners who run Coverity scans of open-vm-tools.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Tue, 27 Aug 2019 19:55:38 +0000 (12:55 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoFlipped the default value of config option "hgfs.packetSize.large" to TRUE
Oliver Kurth [Tue, 27 Aug 2019 19:55:38 +0000 (12:55 -0700)] 
Flipped the default value of config option "hgfs.packetSize.large" to TRUE

6 years agoCommon header file change not directly applicable to open-vm-tools.
Oliver Kurth [Tue, 27 Aug 2019 19:55:38 +0000 (12:55 -0700)] 
Common header file change not directly applicable to open-vm-tools.

6 years agoAdd more Coverity annotations to open-vm-tools source.
Oliver Kurth [Tue, 27 Aug 2019 19:55:37 +0000 (12:55 -0700)] 
Add more Coverity annotations to open-vm-tools source.

Add Coverity annotations for three issues so that Coverity scans of
open-vm-tools will automatically classify these issues as
"Intentional."  These annotations are useful both for internal
use as well as for partners who run Coverity scans on open-vm-tools.

6 years agoCommon header file change not applicable to open-vm-tools
Oliver Kurth [Tue, 27 Aug 2019 19:55:37 +0000 (12:55 -0700)] 
Common header file change not applicable to open-vm-tools

6 years agoGet rid of PhysMem's thread registration calls for most threads.
Oliver Kurth [Tue, 27 Aug 2019 19:55:37 +0000 (12:55 -0700)] 
Get rid of PhysMem's thread registration calls for most threads.

A previous change eliminated the need to register threads before doing
a PPN to BPN conversion on them.  This change removes some of the
remaining infrastructure.

6 years agoAddress Coverity issues reported in bora/lib/file/file.c.
Oliver Kurth [Tue, 27 Aug 2019 19:55:37 +0000 (12:55 -0700)] 
Address Coverity issues reported in bora/lib/file/file.c.

Fix a minor memory leak in the function File_ExpandAndCheckDir.
Also add annotations for unchecked return values in functions
GetOldMachineID and File_MoveTree, so that Coverity scans of
open-vm-tools will automatically classify these issues as
"Intentional".  These annotations are useful both for internal
use as well as for partners who run Coverity scans on open-vm-tools.

6 years agoCommon header file change not directly applicable to open-vm-tools.
Oliver Kurth [Tue, 27 Aug 2019 19:55:36 +0000 (12:55 -0700)] 
Common header file change not directly applicable to open-vm-tools.

6 years agoDo not treat AsyncSocketState as a boolean
Oliver Kurth [Tue, 27 Aug 2019 19:55:36 +0000 (12:55 -0700)] 
Do not treat AsyncSocketState as a boolean

AsyncSocketState is an enum.  Storing it into boolean
results in unexpected and undefined behavior.

6 years agoBool type may not be a char (1 bytes).
Oliver Kurth [Tue, 27 Aug 2019 19:55:36 +0000 (12:55 -0700)] 
Bool type may not be a char (1 bytes).

Change structures exposed to the guest to not use Bool -
 - while currently Bool is defined as char, we might use C's
   _Bool or C++'s bool for booleans - and neither standard
   mandates _Bool/bool to be 1 byte.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Tue, 27 Aug 2019 19:55:36 +0000 (12:55 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoopen-vm-tools: add vm_valgrind.h
Oliver Kurth [Tue, 27 Aug 2019 19:55:36 +0000 (12:55 -0700)] 
open-vm-tools: add vm_valgrind.h

To build open-vm-tools with valgrind enabled we need this file.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Tue, 27 Aug 2019 19:55:36 +0000 (12:55 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoAdd Coverity annotations.
Oliver Kurth [Tue, 27 Aug 2019 19:55:35 +0000 (12:55 -0700)] 
Add Coverity annotations.

Add source code annotations so that Coverity scans will automatically
classify certain issues as "intentional."  These annotations serve to
memorialize these classifications in open-vm-tools source, both for
internal reference as well as for partners like Red Hat who run their
own Coverity scans on open-vm-tools.

6 years agotools.conf example: add vss.disableAppQuiescing
Oliver Kurth [Fri, 23 Aug 2019 20:33:55 +0000 (13:33 -0700)] 
tools.conf example: add vss.disableAppQuiescing

6 years agoEnable the guest OS disk mapping feature as default.
Oliver Kurth [Mon, 5 Aug 2019 18:22:01 +0000 (11:22 -0700)] 
Enable the guest OS disk mapping feature as default.

Enabling the OS disk mapping feature in VMware Tools 11.0.0 for
Windows and Linux guests.

6 years agoFix broken command: vmtoolsd --cmd info-get | info-set
Oliver Kurth [Mon, 5 Aug 2019 18:22:01 +0000 (11:22 -0700)] 
Fix broken command: vmtoolsd --cmd info-get | info-set

6 years ago[OVT] Update copyright year to 2019.
Oliver Kurth [Mon, 5 Aug 2019 18:22:01 +0000 (11:22 -0700)] 
[OVT] Update copyright year to 2019.

A new version of VMware Tools 11.0.0 will be released in 2019.  All
applicable files need to stamped with 2019 copyright year.

6 years agoAvoid freezing mount points for same device.
Oliver Kurth [Mon, 5 Aug 2019 18:22:00 +0000 (11:22 -0700)] 
Avoid freezing mount points for same device.

Loopback device setup could cause a cyclic dependency
between 2 mount points. In order to break the cycle,
avoid freezing the mount points to the same device.

This change also skips some system mount points for 'tmpfs'
and 'cgroup' etc as those share the same device/FS name.
This is fine because we can't quiese those mount points
anyway (system mount points don't support quiescing).

6 years agoAdd RpcChannel_SendOneRawPriv()
Oliver Kurth [Mon, 5 Aug 2019 18:21:59 +0000 (11:21 -0700)] 
Add RpcChannel_SendOneRawPriv()

Send privileged guest RPC "guestStore.connect" with it after the
vmsvc RPC channel falls back to backdoor.

6 years agoAdd an example configuration tools.conf file for tools
Oliver Kurth [Mon, 5 Aug 2019 18:21:59 +0000 (11:21 -0700)] 
Add an example configuration tools.conf file for tools

This adds an example tools.conf file. Settings are shown in the
file with default values, but commented out with documentation.

6 years ago[TOOLS] Fix dnd text from Linux guest
Oliver Kurth [Mon, 5 Aug 2019 18:21:59 +0000 (11:21 -0700)] 
[TOOLS] Fix dnd text from Linux guest

Gtk::Widget::drag_dest_find_target() returns different values from GDK_NONE
on Gtk2 and Gtk3.

On Gtk2, it returns an empty string. It matches the existing code.
On Gtk3, it returns "NONE". The current logic breaks.

To overcome this issue, use Gdk::AtomString::to_cpp_type(GDK_NONE) to
replace the current empty string. This works on both Gtk2 and Gtk3.

6 years agoFix gcc 9.1 build error in vmblocktest.c
Oliver Kurth [Mon, 5 Aug 2019 18:21:59 +0000 (11:21 -0700)] 
Fix gcc 9.1 build error in vmblocktest.c

GCC 9.1 in Ubuntu eoan (19.10) failed to build open-vm-tools:
error: '__builtin_strncpy' specified bound 4096 equals destination
size [-Werror=stringop-truncation]

6 years agoEnable the guest OS disk mapping feature as default.
Oliver Kurth [Fri, 2 Aug 2019 18:07:21 +0000 (11:07 -0700)] 
Enable the guest OS disk mapping feature as default.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Fri, 2 Aug 2019 18:07:21 +0000 (11:07 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoFix broken command: vmtoolsd --cmd info-get | info-set
Oliver Kurth [Fri, 2 Aug 2019 18:07:21 +0000 (11:07 -0700)] 
Fix broken command: vmtoolsd --cmd info-get | info-set

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Fri, 2 Aug 2019 18:07:21 +0000 (11:07 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Fri, 2 Aug 2019 18:07:21 +0000 (11:07 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Fri, 2 Aug 2019 18:07:21 +0000 (11:07 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Fri, 2 Aug 2019 18:07:21 +0000 (11:07 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoBumping HGFS_LARGE_IO_MAX_PAGES to 127 and defining the legacy values
Oliver Kurth [Fri, 2 Aug 2019 18:07:21 +0000 (11:07 -0700)] 
Bumping HGFS_LARGE_IO_MAX_PAGES to 127 and defining the legacy values

This change bumps up HGFS_LARGE_IO_MAX_PAGES to 127 and define the
legacy values of HGFS_LARGE_IO_MAX_PAGES, HGFS_LARGE_IO_MAX and
HGFS_LARGE_PACKET_MAX.  A switch is also added to make sure we still
use the legacy value unless "hgfs.packetSize.large" is set to "TRUE" in vmx.

6 years agoCommon header file change not applicable to open-vm-tools.
Oliver Kurth [Fri, 2 Aug 2019 18:07:21 +0000 (11:07 -0700)] 
Common header file change not applicable to open-vm-tools.

6 years agoFix crash in nicinfo/nicInfoPosix.c:PrintResolverNSInfo
Oliver Kurth [Fri, 2 Aug 2019 18:07:21 +0000 (11:07 -0700)] 
Fix crash in nicinfo/nicInfoPosix.c:PrintResolverNSInfo

SIGSEGV trying to access resp->_u._ext.nsaddrs[i]->sin6_family in
PrintResolverNSInfo.

Fix: zero out the struct __res_state memory before calling res_ninit().

6 years agoChanges to common source files not directly applicable to open-vm-tools.
Oliver Kurth [Fri, 2 Aug 2019 18:07:21 +0000 (11:07 -0700)] 
Changes to common source files not directly applicable to open-vm-tools.

Backout previous changes to these files.

6 years agoChanges to common source files not directly applicable to open-vm-tools.
Oliver Kurth [Fri, 2 Aug 2019 18:07:21 +0000 (11:07 -0700)] 
Changes to common source files not directly applicable to open-vm-tools.

6 years agoAvoid freezing mount points for same device.
Oliver Kurth [Fri, 2 Aug 2019 18:07:21 +0000 (11:07 -0700)] 
Avoid freezing mount points for same device.

Loopback device setup could cause a cyclic dependency
between 2 mount points. In order to break the cycle,
avoid freezing the mount points to the same device.

This change also skips some system mount points for 'tmpfs'
and 'cgroup' etc as those share the same device/FS name.
This is fine because we can't quiese those mount points
anyway (system mount points don't support quiescing).

6 years agoConvert linux to __linux__ in preprocessor statements.
Oliver Kurth [Fri, 2 Aug 2019 18:07:20 +0000 (11:07 -0700)] 
Convert linux to __linux__ in preprocessor statements.

Linux ABI uses __linux__, not linux (deprecated).

6 years agoAdd RpcChannel_SendOneRawPriv()
Oliver Kurth [Fri, 2 Aug 2019 18:07:20 +0000 (11:07 -0700)] 
Add RpcChannel_SendOneRawPriv()

Send privileged guest RPC "guestStore.connect" with it after the
vmsvc RPC channel falls back to backdoor.

6 years agoCommon header file change not directly applicable to open-vm-tools.
Oliver Kurth [Fri, 2 Aug 2019 18:07:20 +0000 (11:07 -0700)] 
Common header file change not directly applicable to open-vm-tools.