]> git.ipfire.org Git - thirdparty/open-vm-tools.git/log
thirdparty/open-vm-tools.git
4 years agoAdding FreeBSD on ARM64 support to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:37:00 +0000 (09:37 -0800)] 
Adding FreeBSD on ARM64 support to open-vm-tools.

Updating the FreeBSD specific sections of open-vm-tools to adjust
where necessary for ARM64.   The FreeBSD vmballoon driver (vmmemctl.ko)
will use the backdoorGcc64_arm64.c when built for ARM64.

Pull request: https://github.com/vmware/open-vm-tools/pull/474

4 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:37:00 +0000 (09:37 -0800)] 
Common header file change not applicable to open-vm-tools.

4 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not applicable to open-vm-tools.

4 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not applicable to open-vm-tools.

4 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not applicable to open-vm-tools.

4 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not applicable to open-vm-tools.

4 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not applicable to open-vm-tools.

4 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not applicable to open-vm-tools.

4 years agoClean up pre-gcc-4.4 macros
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Clean up pre-gcc-4.4 macros

Gcc is now "always" at least gcc-4.4 (checked in vm_basic_types.h),
which means many conditionals for earlier gcc can be removed.

4 years agoCommon header file change not directly applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not directly applicable to open-vm-tools.

4 years agoCompiler minimums: bump to gcc-4.4
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Compiler minimums: bump to gcc-4.4

4 years agoFix miscellaneous Codacy warnings in deployPkg plugin code.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Fix miscellaneous Codacy warnings in deployPkg plugin code.

Multiple warnings "The scope of the variable can be reduced" reported by
the Codacy static analysis tool have been addressed.

4 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not applicable to open-vm-tools.

4 years ago[open-vm-tools part] Support raw cloud-init data in VM customization.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
[open-vm-tools part] Support raw cloud-init data in VM customization.

To support this feature, open-vm-tools needs to check whether cloud-init
can support raw cloud-init data; then copy the data to the cloud-init
cfg directory.

4 years agoAdded 2 error codes for supporting raw cloud-init data in VM customization.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Added 2 error codes for supporting raw cloud-init data in VM customization.

Header file updated with errors detected when using raw cloud-init data
in guest customization.
  - cloud-init version is too old to support raw cloud-init data.
  - cloud-init meta data format is invalid.

4 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not applicable to open-vm-tools.

4 years agoRemove lib/include/vmware_pack_*.h header files.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Remove lib/include/vmware_pack_*.h header files.

Previous changes have removed the last usages of these headers; now using
'#pragma pack' 100% of the time.

5 years agoUpdate ChangeLog with the granular push of Feb. 4, 2021.
John Wolfe [Thu, 4 Feb 2021 18:13:38 +0000 (10:13 -0800)] 
Update ChangeLog with the granular push of Feb. 4, 2021.
  - plus Changelog update of Jan. 22.

5 years agoCommon header file change not directly applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not directly applicable to open-vm-tools.

5 years agoDrop usage of vmware_pack_*.h header files.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Drop usage of vmware_pack_*.h header files.

Both gcc and clang support the Microsoft-style "pragma pack" syntax.

5 years agoresolution: Fix kms autodetection
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
resolution: Fix kms autodetection

Currently, the elf binary of the xorg driver is loaded to check for a
string that was put in the .modinfo section in the driver.  Unfortunately
there are two problems with this approach:

  1) Distros now ship without xorg, so the xorg .so doesn't exist and
     there's nothing to check.
  2) Distros (e.g. Fedora) do heavy optimizations and remove the .modinfo
     section from the .so, so the string cannot be found even though the
     driver exists.

To fix both, stop depending on being able to parse the elf binary of the
xorg driver.  Instead, let the plugin check for the existence of the drm
driver with a sufficiently high version, and if it exists, use kms.
This removes the dependency on X for kms.  Also increase the version of
vmwgfx required to ensure atomic mode-setting plus relevant bug fixes (in
the kernel since 2017) are available.

5 years agoAdd a switch to the vm-support script to transfer the support bundle to the hypervisor
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Add a switch to the vm-support script to transfer the support bundle to the hypervisor

The vm-support script unconditionally transferred the support bundle to
to the VMware hypervisor, thereby filling vmware.log.
This fix changes the default behavior of the Linux and Windows scripts
to *not* transfer the logs to the host.

Added an option '-x' to both scripts to let the user elect to
transfer the guest support bundle to the host.

5 years agoAdd NVMe capability for vmbackup.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Add NVMe capability for vmbackup.

The vmx/vmbackup logic checks if tools/vmbackup can support NVMe.  If it
is supported, vmx/vmbackup can further go through the app quiesce process.
Otherwise, vmx/vmbackup requests the filesystem quiesce process.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not directly applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not directly applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoAdd tools version 10.3.24 to list of tools versions.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Add tools version 10.3.24 to list of tools versions.

Document use of 10.3.24 for the next possible release of VMware Tools
(tartools) or OSPS for older releases of Linux.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoAdded in the ChangeLog update comment from Dec 31.
John Wolfe [Fri, 22 Jan 2021 20:55:24 +0000 (12:55 -0800)] 
Added in the ChangeLog update comment from Dec 31.

5 years agoUpdate ChangeLog with the granular push of Jan. 22, 2021.
John Wolfe [Fri, 22 Jan 2021 20:52:09 +0000 (12:52 -0800)] 
Update ChangeLog with the granular push of Jan. 22, 2021.

5 years agoCorrect missing 2021 copyright dates.
John Wolfe [Fri, 22 Jan 2021 20:39:50 +0000 (12:39 -0800)] 
Correct missing 2021 copyright dates.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoFile_Rotate: Optimize FileRotateByRenumber performance
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
File_Rotate: Optimize FileRotateByRenumber performance

5 years agoFix an issue where CustomizationUnknownFailure is generated multiple times
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
Fix an issue where CustomizationUnknownFailure is generated multiple times
on Linux.

For Linux, sysimage sends a failure status to VMX when the deploy pkg
failed.  The tools plugin then sends the failure notice again.  Changing the
plugin to only send the failure notice for Windows guests where the
failure has yet to be logged.

5 years agoCommon header file change not directly applicable to open-vm-tools.
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
Common header file change not directly applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCustomization: Set log level to info, not error, for failed /sbin/telinit command
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
Customization: Set log level to info, not error, for failed /sbin/telinit command

The error message of a failed /sbin/telinit command is confusing for
customers who might think customization failed.  On some Guest OSes,
the repeatedly executing /sbin/telinit command can fail while a reboot
is happening and the init daemon has been killed.
This change sets log level to info, not error, for failed /sbin/telinit
command.
Note: The first /sbin/telinit commmand failure will fail customization
with error 127; this is unchanged.

5 years agolib/file/file.c: Use Err_Errno instead of errno directly.
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
lib/file/file.c: Use Err_Errno instead of errno directly.

5 years agolib/file/file.c: Fix memory leak
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
lib/file/file.c: Fix memory leak

Don't continue; jump to ensure string free.

5 years agoInvalid file name causes the VMX to crash in log file rotation
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
Invalid file name causes the VMX to crash in log file rotation

Parse the log file names without using sscanf.  This way no "%" in
a file name can look like a valid scanf directive.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 22 Jan 2021 20:25:40 +0000 (12:25 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 22 Jan 2021 20:25:40 +0000 (12:25 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 22 Jan 2021 20:25:40 +0000 (12:25 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years ago[resolution/x11] Preserve the rotation
John Wolfe [Fri, 22 Jan 2021 20:25:40 +0000 (12:25 -0800)] 
[resolution/x11] Preserve the rotation

The screen orientation/rotation was being reset on each mode set.
In general that is not a bad behavior.   But it does break with a
fit to window and such as it will continuously reset the user
requested orientation.
This patch preserves the orientation/rotation on mode changes.

5 years agoLog file name becomes invalid after a rotation
John Wolfe [Fri, 22 Jan 2021 20:25:40 +0000 (12:25 -0800)] 
Log file name becomes invalid after a rotation

This is because the accounting is done unsigned but the printf used (in
multiple places) was "%d".  Fix this by using "%u".

As documented in the function header, the wrap around case was not handled
properly, so this was fixed as well.  If the maximum rotation number hits
MAX_UINT32, all of the files are renamed to pack the files as if this was
the beginning of a rotation sequence.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 22 Jan 2021 20:25:40 +0000 (12:25 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 22 Jan 2021 20:25:40 +0000 (12:25 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoMerge branch 'stable-11.2.x'
John Wolfe [Wed, 13 Jan 2021 23:47:17 +0000 (15:47 -0800)] 
Merge branch 'stable-11.2.x'

5 years agoChangeLog update with release changes. stable-11.2.x stable-11.2.5
John Wolfe [Wed, 13 Jan 2021 22:58:07 +0000 (14:58 -0800)] 
ChangeLog update with release changes.

5 years agoPrepare to make the 11.2.5 OVT release announcement.
John Wolfe [Wed, 13 Jan 2021 22:48:17 +0000 (14:48 -0800)] 
Prepare to make the 11.2.5 OVT release announcement.
  - ReleaseNotes.md - copy in the final 11.2.5 OVT release notes
  - configure.ac  = set the tools version to 11.2.5
  - buildNumber.h  - set the build and product number from the internal
                     release build.

5 years agoUpdate ChangeLog with the granular push of Dec. 31.
John Wolfe [Thu, 31 Dec 2020 18:16:50 +0000 (10:16 -0800)] 
Update ChangeLog with the granular push of Dec. 31.

5 years agoCorrecting missed copyright date updates.
John Wolfe [Thu, 31 Dec 2020 18:12:25 +0000 (10:12 -0800)] 
Correcting missed copyright date updates.

Adding 2020 to the copyright of a few files modified in this year.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 31 Dec 2020 18:12:25 +0000 (10:12 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 31 Dec 2020 18:12:25 +0000 (10:12 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoUpdate ChangeLog with the granular push of Dec. 23
John Wolfe [Wed, 23 Dec 2020 16:08:01 +0000 (08:08 -0800)] 
Update ChangeLog with the granular push of Dec. 23

5 years agoUpdate some copyright dates for 2020 publication.
John Wolfe [Wed, 23 Dec 2020 16:04:08 +0000 (08:04 -0800)] 
Update some copyright dates for 2020 publication.

5 years agoL10n drop for open-vm-tools 10.2.5.
John Wolfe [Wed, 23 Dec 2020 15:33:50 +0000 (07:33 -0800)] 
L10n drop for open-vm-tools 10.2.5.

5 years agoOVT: Build only fuse-based or kernel module vmblocktest programs.
John Wolfe [Wed, 23 Dec 2020 15:33:50 +0000 (07:33 -0800)] 
OVT: Build only fuse-based or kernel module vmblocktest programs.

The OVT configuration determines whether open-vm-tools will build
a vmblock kernel module or a vmblock-fuse user level VMBlock
implementation.  Both versions of the vmblocktest program(s) are not
needed.   Linux OVT is only using the vmblock-fuse implementation.

Select the version to build based on the HAVE_FUSE setting from the
./configure run.

This fixes https://github.com/vmware/open-vm-tools/issues/467

5 years agotools: Fix Coverity errors in resolution plugin.
John Wolfe [Wed, 23 Dec 2020 15:33:50 +0000 (07:33 -0800)] 
tools: Fix Coverity errors in resolution plugin.

Fix multiplication overflow and fgetc usage to avoid Coverity errors.

5 years agoUpdate ChangeLog with the granular push of Dec. 22
John Wolfe [Tue, 22 Dec 2020 21:09:46 +0000 (13:09 -0800)] 
Update ChangeLog with the granular push of Dec. 22
       - changes through 12/17

5 years agoUpdate some copyright dates for 2020 publication.
John Wolfe [Tue, 22 Dec 2020 21:01:04 +0000 (13:01 -0800)] 
Update some copyright dates for 2020 publication.

5 years agoChanges to common source files not immediately applicable to open-vm-tools.
John Wolfe [Tue, 22 Dec 2020 20:22:04 +0000 (12:22 -0800)] 
Changes to common source files not immediately applicable to open-vm-tools.

Staging source files and changes for a future feature.

5 years agoOVT: Build only fuse-based or kernel module vmblocktest programs.
John Wolfe [Tue, 22 Dec 2020 20:22:03 +0000 (12:22 -0800)] 
OVT: Build only fuse-based or kernel module vmblocktest programs.

The OVT configuration determines whether open-vm-tools will build
a vmblock kernel module or a vmblock-fuse user level VMBlock
implementation.  Both versions of the vmblocktest program(s) are not
needed.   Linux OVT is only using the vmblock-fuse implementation.

Select the version to build based on the HAVE_FUSE setting from the
./configure run.

This fixes https://github.com/vmware/open-vm-tools/issues/467

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Tue, 22 Dec 2020 20:22:03 +0000 (12:22 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Tue, 22 Dec 2020 20:22:03 +0000 (12:22 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Tue, 22 Dec 2020 20:22:03 +0000 (12:22 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon source file change not applicable to open-vm-tools
John Wolfe [Tue, 22 Dec 2020 20:22:03 +0000 (12:22 -0800)] 
Common source file change not applicable to open-vm-tools

5 years agoCommon header file change not directly applicable to open-vm-tools.
John Wolfe [Tue, 22 Dec 2020 20:22:03 +0000 (12:22 -0800)] 
Common header file change not directly applicable to open-vm-tools.

5 years agoChanges to a common source file not applicable to open-vm-tools.
John Wolfe [Tue, 22 Dec 2020 20:22:03 +0000 (12:22 -0800)] 
Changes to a common source file not applicable to open-vm-tools.

5 years agoCorrected a few typos and reworded sentences in tools.conf.
John Wolfe [Tue, 22 Dec 2020 20:22:03 +0000 (12:22 -0800)] 
Corrected a few typos and reworded sentences in tools.conf.

Corrected a few typos, reworded a few sentences, added some
details for quiescing scripts and removed some duplicates.

5 years agoMXUser Semaphores - nanosecond resolution wait times
John Wolfe [Tue, 22 Dec 2020 20:22:03 +0000 (12:22 -0800)] 
MXUser Semaphores - nanosecond resolution wait times

The graphics team requested the ability to have semaphore wait times
less than a millisecond.  This would greatly improve some graphics
operations.  Since POSIX platforms (i.e. ESXi, MacOS, Linux) support
nanosecond resolution for semaphore wait times, a new timed semaphore
wait routine with nanosecond resolution is introduced.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Tue, 22 Dec 2020 20:22:03 +0000 (12:22 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoUpdate copyright date for products to be released in 2021.
John Wolfe [Tue, 22 Dec 2020 20:22:03 +0000 (12:22 -0800)] 
Update copyright date for products to be released in 2021.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Tue, 22 Dec 2020 20:22:03 +0000 (12:22 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Tue, 22 Dec 2020 20:22:03 +0000 (12:22 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Tue, 22 Dec 2020 20:22:03 +0000 (12:22 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoUpdate the ChangeLog with changes added to the stable-11.2.x branch since
John Wolfe [Fri, 11 Dec 2020 05:41:07 +0000 (21:41 -0800)] 
Update the ChangeLog with changes added to the stable-11.2.x branch since
the release of 11.2.0.

5 years agoVMTools 11.2.5: update visible copyrights to 2021
John Wolfe [Fri, 11 Dec 2020 05:05:49 +0000 (21:05 -0800)] 
VMTools 11.2.5: update visible copyrights to 2021

Release of VMware Tools 11.2.5 is targeted for Jan. 2021.  Updating
the visible copyright dates to 2021 to coincide with the GA release.

5 years agoChanges to common source files not applicable to open-vm-tools.
John Wolfe [Fri, 11 Dec 2020 05:05:49 +0000 (21:05 -0800)] 
Changes to common source files not applicable to open-vm-tools.

5 years agoUpdate wording of user visible messages to conform to guidelines.
John Wolfe [Fri, 11 Dec 2020 05:05:49 +0000 (21:05 -0800)] 
Update wording of user visible messages to conform to guidelines.

5 years agoChange toolboxcmd gueststore command help.
John Wolfe [Fri, 11 Dec 2020 05:05:49 +0000 (21:05 -0800)] 
Change toolboxcmd gueststore command help.

5 years agoChanges to common source files not applicable to open-vm-tools.
John Wolfe [Fri, 11 Dec 2020 05:05:49 +0000 (21:05 -0800)] 
Changes to common source files not applicable to open-vm-tools.

5 years agoCommon source file change not applicable to open-vm-tools.
John Wolfe [Fri, 11 Dec 2020 05:05:49 +0000 (21:05 -0800)] 
Common source file change not applicable to open-vm-tools.

5 years agoCommon header file change not directly applicable to open-vm-tools.
John Wolfe [Fri, 11 Dec 2020 05:05:49 +0000 (21:05 -0800)] 
Common header file change not directly applicable to open-vm-tools.

5 years agoChanges to common source files not applicable to open-vm-tools.
John Wolfe [Fri, 11 Dec 2020 05:05:49 +0000 (21:05 -0800)] 
Changes to common source files not applicable to open-vm-tools.

5 years agoRemove the pam_securetty.so reference from the SUSE pam configuration file.
John Wolfe [Fri, 11 Dec 2020 05:05:49 +0000 (21:05 -0800)] 
Remove the pam_securetty.so reference from the SUSE pam configuration file.

The PAM config file for SUSE includes a library that is not necessary.
This changeset removes the unnecessary library per KB 78521.

5 years agoFix propagation of libtirpc flags into build of test source.
John Wolfe [Fri, 11 Dec 2020 05:05:49 +0000 (21:05 -0800)] 
Fix propagation of libtirpc flags into build of test source.

Starting with glibc 2.32, the Linux libc<n>-dev no longer provides
the /usr/include/rpc/rpc.h header.  The configure script will detect
the availability of the libtirpc package and use the rpc.h header
from /usr/include/tirpc/rpc/rpc.h.

This fix extends the necessary compilation and linking options to the
build of the open-vm-tools services test programs that utilize RPC.

Fixes: https://github.com/vmware/open-vm-tools/issues/468
Pull Request: https://github.com/vmware/open-vm-tools/pull/469

5 years agoFix memory leaks.
John Wolfe [Fri, 11 Dec 2020 05:05:49 +0000 (21:05 -0800)] 
Fix memory leaks.

A Coverity scan of open-vm-tools reported a number of memory leaks
on error code paths.  Fix seven reported leaks, and modify code
to address two false positives in order to make the code clearer
and/or keep Coverity from reporting the issues.  Also fix additional
leaks found in the routine Proto_TextContents during code review.

5 years agoPrepare the vmtools-prod-cpd branch for the VMware Tools 11.2.5 build.
John Wolfe [Fri, 11 Dec 2020 05:05:48 +0000 (21:05 -0800)] 
Prepare the vmtools-prod-cpd branch for the VMware Tools 11.2.5 build.

- Set the tools version to 11.2.5.

5 years agoUpdate ChangeLog with the granular push of Dec. 10
John Wolfe [Fri, 11 Dec 2020 03:48:12 +0000 (19:48 -0800)] 
Update ChangeLog with the granular push of Dec. 10
   - changes through 11/30

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 11 Dec 2020 03:34:56 +0000 (19:34 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoChange to common source file not immediately applicable to open-vm-tools.
John Wolfe [Fri, 11 Dec 2020 03:34:56 +0000 (19:34 -0800)] 
Change to common source file not immediately applicable to open-vm-tools.

GuestStore Upgrade: add settings to the tools.conf file

This change adds the GuestStore Upgrade settings to the tools.conf
file installed with Tools.

Settings are:
[gueststoreupgrade]

 # The guestStoreUpgrade plugin is only available for Windows.

 # The policy value is one of the settings listed below.
 # off         = no VMware Tools upgrade from GuestStore. Feature is
 #               disabled.
 # manual      = (Default) VMware Tools upgrade from GuestStore is
 #               manually started.
 # powercycle  = VMware Tools upgrade from GuestStore on system
 #               power on.

 #policy=manual

 # Time interval for periodically checking available VMware Tools package
 # version in the GuestStore.
 # User-defined poll interval in seconds. Set to 0 to disable polling.
 # Minimum valid value is 900 seconds (15 minutes)
 # Default value is 3600 seconds (60 minutes)
 #poll-interval=3600

 # VMware Tools package version metadata key to specify a VMware Tools
 # package version in the GuestStore.
 # User-defined key for VMware Tools package version.
 # Default value is "vmtools" which points to the latest version of
 # VMware Tools package in the GuestStore.
 #vmtools-version-key=vmtools

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 11 Dec 2020 03:34:56 +0000 (19:34 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoChanges to common header files not applicable to open-vm-tools.
John Wolfe [Fri, 11 Dec 2020 03:34:56 +0000 (19:34 -0800)] 
Changes to common header files not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 11 Dec 2020 03:34:56 +0000 (19:34 -0800)] 
Common header file change not applicable to open-vm-tools.