]> git.ipfire.org Git - thirdparty/open-vm-tools.git/log
thirdparty/open-vm-tools.git
2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 8 Apr 2024 06:26:31 +0000 (23:26 -0700)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 8 Apr 2024 06:26:31 +0000 (23:26 -0700)] 
Change to common header file not applicable to open-vm-tools.

2 years agoCorrect auto-merge error in vm_tools_version.h - stable-12.4.x to master.
John Wolfe [Fri, 22 Mar 2024 21:58:19 +0000 (14:58 -0700)] 
Correct auto-merge error in vm_tools_version.h - stable-12.4.x to master.

2 years agoMerge branch 'stable-12.4.x'
John Wolfe [Fri, 22 Mar 2024 21:48:14 +0000 (14:48 -0700)] 
Merge branch 'stable-12.4.x'

2 years ago open-vm-tools 12.4.0 released at this point. stable-12.4.0
John Wolfe [Fri, 22 Mar 2024 21:08:29 +0000 (14:08 -0700)] 
open-vm-tools 12.4.0 released at this point.
=================================================
Update of the ChangeLog with the final changes in preparation for
the open-vm-tools 12.4.0 release.

2 years agoUpdate the ReleaseNotes.md for the 12.4.0 open-vm-tools release.
John Wolfe [Fri, 22 Mar 2024 21:00:45 +0000 (14:00 -0700)] 
Update the ReleaseNotes.md for the 12.4.0 open-vm-tools release.

2 years agoCorrect build number strings in the build_number.h header file.
John Wolfe [Fri, 22 Mar 2024 20:53:03 +0000 (13:53 -0700)] 
Correct build number strings in the build_number.h header file.
Synch the Broadcom copyright capitalization with that in official
source repo. - 4 files.

2 years agoPrepare for the open-vm-tools 12.4.0 release.
Kruti [Thu, 21 Mar 2024 20:00:23 +0000 (13:00 -0700)] 
Prepare for the open-vm-tools 12.4.0 release.
- Update the tools version in the configure.ac.
- Update the build numbers in the buldNumber.h.

2 years agoUpdate ChangeLog with the granular push of Mar 18, 2024.
Kruti [Mon, 18 Mar 2024 18:42:23 +0000 (11:42 -0700)] 
Update ChangeLog with the granular push of Mar 18, 2024.
- plus Copyright update of file vmxnet3_defs.h
- plus ChangeLog update of Feb 28, 2024.

2 years agoCorrect copyright year to 2024.
Kruti [Mon, 18 Mar 2024 18:30:49 +0000 (11:30 -0700)] 
Correct copyright year to 2024.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 18 Mar 2024 18:03:49 +0000 (11:03 -0700)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 18 Mar 2024 18:03:49 +0000 (11:03 -0700)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 18 Mar 2024 18:03:48 +0000 (11:03 -0700)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 18 Mar 2024 18:03:48 +0000 (11:03 -0700)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 18 Mar 2024 18:03:48 +0000 (11:03 -0700)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 18 Mar 2024 18:03:48 +0000 (11:03 -0700)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 18 Mar 2024 18:03:48 +0000 (11:03 -0700)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 18 Mar 2024 18:03:48 +0000 (11:03 -0700)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 18 Mar 2024 18:03:48 +0000 (11:03 -0700)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 18 Mar 2024 18:03:48 +0000 (11:03 -0700)] 
Change to common header file not applicable to open-vm-tools.

2 years ago[GDP][GdpPlugin] Subscriber presence interrogation (ZeroData).
Kruti [Mon, 18 Mar 2024 18:03:48 +0000 (11:03 -0700)] 
[GDP][GdpPlugin] Subscriber presence interrogation (ZeroData).

This change allows empty/0 byte payload to be sent from GDP Plugin on guest
to the gdp daemon on host when querying for subscriber presence,
without publishing the data to the subscribers.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 18 Mar 2024 18:03:48 +0000 (11:03 -0700)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common source file not applicable to open-vm-tools.
Kruti [Mon, 18 Mar 2024 18:03:48 +0000 (11:03 -0700)] 
Change to common source file not applicable to open-vm-tools.

2 years agoBump the VMware Tools version to 12.5.0 on "devel" branch.
Kruti [Mon, 18 Mar 2024 18:03:48 +0000 (11:03 -0700)] 
Bump the VMware Tools version to 12.5.0 on "devel" branch.

Ear-marked "SOCKET_WRENCH" as the tools tag for the 12.4.x series of
releases.

2 years agoUpdate ChangeLog with the granular push of Mar 9, 2024.
Kruti [Sun, 10 Mar 2024 15:24:52 +0000 (08:24 -0700)] 
Update ChangeLog with the granular push of Mar 9, 2024.
- plus ChangeLog update of Feb 28, 2024.

2 years agoChange to common source file not applicable to open-vm-tools.
Kruti [Sun, 10 Mar 2024 04:56:08 +0000 (20:56 -0800)] 
Change to common source file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Sun, 10 Mar 2024 04:56:08 +0000 (20:56 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years ago[GDP][GdpPlugin]: Subscriber presence interrogation (ZeroData).
Kruti [Sun, 10 Mar 2024 04:56:08 +0000 (20:56 -0800)] 
[GDP][GdpPlugin]: Subscriber presence interrogation (ZeroData).

This change allows empty/0 byte payload to be sent from GDP Plugin on guest
to the gdp daemon on host when querying for subscriber presence,
without publishing the data to the subscribers.

2 years agoUpdate Changelog with the granular push of Feb 28, 2024.
Kruti [Wed, 28 Feb 2024 18:01:36 +0000 (10:01 -0800)] 
Update Changelog with the granular push of Feb 28, 2024.
- plus ChangeLog update of Feb 23, 2024.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Wed, 28 Feb 2024 17:33:57 +0000 (09:33 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoUpdate Changelog with the granular push of Feb 23, 2024.
Kruti [Fri, 23 Feb 2024 16:06:32 +0000 (08:06 -0800)] 
Update Changelog with the granular push of Feb 23, 2024.
- plus ChangeLog update of Feb 19, 2024.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Fri, 23 Feb 2024 10:25:10 +0000 (02:25 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChanges to common source files not applicable to open-vm-tools.
Kruti [Fri, 23 Feb 2024 10:25:10 +0000 (02:25 -0800)] 
Changes to common source files not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Fri, 23 Feb 2024 10:25:10 +0000 (02:25 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoPower Ops: Attempt to execute file path only
Kruti [Fri, 23 Feb 2024 10:25:10 +0000 (02:25 -0800)] 
Power Ops: Attempt to execute file path only

Adding a check to verify that the path to execute
is a file only and not a directory.

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

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Fri, 23 Feb 2024 10:25:10 +0000 (02:25 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common source files not applicable to open-vm-tools.
Kruti [Fri, 23 Feb 2024 10:25:09 +0000 (02:25 -0800)] 
Change to common source files not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Fri, 23 Feb 2024 10:25:09 +0000 (02:25 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoUpdate Changelog with the granular push of Feb 19, 2024.
Kruti [Mon, 19 Feb 2024 15:07:41 +0000 (07:07 -0800)] 
Update Changelog with the granular push of Feb 19, 2024.
- plus ChangeLog update of Nov 21, 2023.

2 years agoChanges to common source files not applicable to open-vm-tools at this time.
Kruti [Mon, 19 Feb 2024 14:32:44 +0000 (06:32 -0800)] 
Changes to common source files not applicable to open-vm-tools at this time.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 19 Feb 2024 14:32:44 +0000 (06:32 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChanges to common source files not applicable to open-vm-tools at this time.
Kruti [Mon, 19 Feb 2024 14:32:44 +0000 (06:32 -0800)] 
Changes to common source files not applicable to open-vm-tools at this time.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 19 Feb 2024 14:32:44 +0000 (06:32 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 19 Feb 2024 14:32:44 +0000 (06:32 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 19 Feb 2024 14:32:44 +0000 (06:32 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agolib/file/file.c: Handle EACCES during File_CreateDirectoryHierarchyEx
Kruti [Mon, 19 Feb 2024 14:32:44 +0000 (06:32 -0800)] 
lib/file/file.c: Handle EACCES during File_CreateDirectoryHierarchyEx

On DELL thinOS, while creating an existing dir in a path without write
permission, mkdir returns EACCES. This breaks the directory
hierarchy check.
This patch handles the EACCES by checking the file with euidaccess
after an EACCES failure.

2 years agoChange to common header file not applicable to open-vm-tools.
Kruti [Mon, 19 Feb 2024 14:32:44 +0000 (06:32 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoFix out-of-bound access issues reported by Coverity
Kruti [Mon, 19 Feb 2024 14:32:44 +0000 (06:32 -0800)] 
Fix out-of-bound access issues reported by Coverity

Do not pass PATH_MAX and FILENAME_MAX to Str_Strlen function call.

2 years agoUpdate Changelog with the granular push of Nov. 21, 2023.
Katy Feng [Tue, 21 Nov 2023 20:23:20 +0000 (12:23 -0800)] 
Update Changelog with the granular push of Nov. 21, 2023.
- plus ChangeLog update of Nov. 16, 2023.

2 years agoChange to common source file not applicable to open-vm-tools.
Katy Feng [Tue, 21 Nov 2023 20:17:25 +0000 (12:17 -0800)] 
Change to common source file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Tue, 21 Nov 2023 20:17:25 +0000 (12:17 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Tue, 21 Nov 2023 20:17:25 +0000 (12:17 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Tue, 21 Nov 2023 20:17:25 +0000 (12:17 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Tue, 21 Nov 2023 20:17:25 +0000 (12:17 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Tue, 21 Nov 2023 20:17:25 +0000 (12:17 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoUpdate Changelog with the granular push of Nov. 16, 2023.
Katy Feng [Thu, 16 Nov 2023 17:23:56 +0000 (09:23 -0800)] 
Update Changelog with the granular push of Nov. 16, 2023.
- plus ChangeLog update of Nov. 13, 2023.

2 years agoFix double free in guestInfoServer.c.
Katy Feng [Thu, 16 Nov 2023 17:21:20 +0000 (09:21 -0800)] 
Fix double free in guestInfoServer.c.

Double free in "GuestInfoGather(gpointer data)" for osNameFullOverride.

2 years agoDrop group privileges before dropping user privileges in vmtoolsd vmusr service.
Katy Feng [Thu, 16 Nov 2023 17:21:20 +0000 (09:21 -0800)] 
Drop group privileges before dropping user privileges in vmtoolsd vmusr service.

2 years agoSend guest detailed data to VMX even when short-name is set in tools.conf.
Katy Feng [Thu, 16 Nov 2023 17:21:20 +0000 (09:21 -0800)] 
Send guest detailed data to VMX even when short-name is set in tools.conf.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Thu, 16 Nov 2023 17:21:20 +0000 (09:21 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChanges to common source files not applicable to open-vm-tools.
Katy Feng [Thu, 16 Nov 2023 17:21:20 +0000 (09:21 -0800)] 
Changes to common source files not applicable to open-vm-tools.

2 years agoChanges to common source files not applicable to open-vm-tools.
Katy Feng [Thu, 16 Nov 2023 17:21:20 +0000 (09:21 -0800)] 
Changes to common source files not applicable to open-vm-tools.

2 years agoChange in Guest Data Producer plugin API and Guest Data Producer
Katy Feng [Thu, 16 Nov 2023 17:21:20 +0000 (09:21 -0800)] 
Change in Guest Data Producer plugin API and Guest Data Producer
protocol/handshake between the host and guest to support ‘no subscribers’
error feedback.

The Service Discovery plugin was updated for API compatibility.

Changes in the GDP protocol/handshake introduce versioning of the protocol.
The new version is “2” and introduces new attributes (‘version’ and
‘requireSubs’) in the guest request header sent to the host publisher service.
The response from the host publisher service to the guest producer client is
also versioned and changes more significantly: V2 response messages have new
attributes (‘version’, ‘error-id’, and ‘error-text’) and have the ‘status’
attributes type change from string (‘ok’, ‘bad’) to Boolean (‘true’, ‘false’).
The ‘error-id’, when present, contains a string identifier for an error
type/code and ‘error-text’, when present, contains textual details for the error.

The host publisher supports all protocol versions up to the version it provides
for backward and forward compatibility. The host publisher service responds with
the same version of protocol as the incoming request or its highest protocol
version when the incoming request version is higher than it supports.
The guest producer client supports all response versions up to the version it
provides for backward and forward compatibility. The guest producer client
always sends request to the host publisher service using the highest protocol
version it supports.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Thu, 16 Nov 2023 17:21:20 +0000 (09:21 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common source file not applicable to open-vm-tools.
Katy Feng [Thu, 16 Nov 2023 17:21:20 +0000 (09:21 -0800)] 
Change to common source file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Thu, 16 Nov 2023 17:21:20 +0000 (09:21 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Thu, 16 Nov 2023 17:21:20 +0000 (09:21 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Thu, 16 Nov 2023 17:21:20 +0000 (09:21 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Thu, 16 Nov 2023 17:21:20 +0000 (09:21 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Thu, 16 Nov 2023 17:21:20 +0000 (09:21 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Thu, 16 Nov 2023 17:21:20 +0000 (09:21 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoUpdate Changelog with the granular push of Nov. 13, 2023.
Katy Feng [Mon, 13 Nov 2023 21:14:45 +0000 (13:14 -0800)] 
Update Changelog with the granular push of Nov. 13, 2023.
- plus ChangeLog update of Oct. 5, 2023.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Mon, 13 Nov 2023 20:07:34 +0000 (12:07 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Mon, 13 Nov 2023 20:07:34 +0000 (12:07 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoGuest identification: Asianux Linux is now Miracle Linux
Katy Feng [Mon, 13 Nov 2023 20:07:34 +0000 (12:07 -0800)] 
Guest identification: Asianux Linux is now Miracle Linux

The Asianux distro rebranded itself as Miracle Linux. Our
infrastructure already knows about Asianux however the guest
identification that runs in tools does not. Add the necessary
aliasing code to the "in guest" code.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Mon, 13 Nov 2023 20:07:34 +0000 (12:07 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common source file not applicable to open-vm-tools.
Katy Feng [Mon, 13 Nov 2023 20:07:34 +0000 (12:07 -0800)] 
Change to common source file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Mon, 13 Nov 2023 20:07:34 +0000 (12:07 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoFile descriptor vulnerability in the open-vm-tools vmware-user-suid-wrapper
Katy Feng [Mon, 13 Nov 2023 20:07:34 +0000 (12:07 -0800)] 
File descriptor vulnerability in the open-vm-tools vmware-user-suid-wrapper
on Linux

Move the privilege drop logic (dropping privilege to the real uid and
gid of the process for the vmusr service) from suidWrapper to vmtoolsd code.
Now vmtoolsd is not executed with dropped privileges (started as setuid
program) and the dumpable attribute of the process is not reset.
Unprivileged users will not have access to the privileged file descriptors
in the vmtoolsd vmusr process.
Also, set the FD_CLOEXEC flag for both uinputFd and blockFd preventing
those file descriptors from being inherited any further from vmtoolsd.

2 years agoDon't accept tokens with unrelated certs
Katy Feng [Mon, 13 Nov 2023 20:07:34 +0000 (12:07 -0800)] 
Don't accept tokens with unrelated certs

If a SAML token has a cert that's not a part of a chain,
fail the token as invalid.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Mon, 13 Nov 2023 20:07:34 +0000 (12:07 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Mon, 13 Nov 2023 20:07:33 +0000 (12:07 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Mon, 13 Nov 2023 20:07:33 +0000 (12:07 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Mon, 13 Nov 2023 20:07:33 +0000 (12:07 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Mon, 13 Nov 2023 20:07:33 +0000 (12:07 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoSuppress optional arg to backup scripts when empty string.
Katy Feng [Mon, 13 Nov 2023 20:07:33 +0000 (12:07 -0800)] 
Suppress optional arg to backup scripts when empty string.

Backup scripts can be called with an optional argument.
Don't pass the optional arg to the script if it's an empty string.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Mon, 13 Nov 2023 20:07:33 +0000 (12:07 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Mon, 13 Nov 2023 20:07:33 +0000 (12:07 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChecking flag 'disable_vmware_customization' in more cloud-init config files
Katy Feng [Mon, 13 Nov 2023 20:07:33 +0000 (12:07 -0800)] 
Checking flag 'disable_vmware_customization' in more cloud-init config files

Currently, the deployPkg plugin checks the existence of the flag
'disable_vmware_customization: false' in the /etc/cloud/cloud.cfg file
to determine whether VMware customization is enabled on cloud-init
side when cloud-init is available in guest.  Instead, keep local settings,
such as this flag, in config files under the /etc/cloud/cloud.cfg.d directory,
for example: /etc/cloud/cloud.cfg.d/somefile.cfg

This change implements the following adjustments to make sure this flag is
handled the same way as cloud-init does in ds-identify and Datasource:

   1. Instead of regex matching flag 'disable_vmware_customization: false',
      check the value of flag 'disable_vmware_customization':
      If the value is 'false', it means VMware customization is enabled.
      If the value is 'true', it means VMware customization is disabled.
      If the flag is not set, by default VMware customization is disabled
      on cloud-init side.
   2. Besides cloud-init /etc/cloud/cloud.cfg file, also check all .cfg
      files under /etc/cloud/cloud.cfg.d directory.
   3. The value of flag 'disable_vmware_customization' in .cfg files under
      /etc/cloud/cloud.cfg.d directory will overwrite the one in the
      /etc/cloud/cloud.cfg file.
   4. The value of flag 'disable_vmware_customization' in a .cfg file listed
      further down in alphabetical order under the /etc/cloud/cloud.cfg.d
      directory will overwrite the value in a .cfg file listed earier.
   5. If a cloud-init config file contains more than one instance of this
      flag, the value of the later flag will overwrite the former one.

Github Issue: https://github.com/vmware/open-vm-tools/issues/310

2 years agoMerge branch 'stable-12.3.x'
Katy Feng [Fri, 27 Oct 2023 13:34:22 +0000 (06:34 -0700)] 
Merge branch 'stable-12.3.x'

2 years ago================================================= stable-12.3.x stable-12.3.5
Katy Feng [Thu, 26 Oct 2023 15:39:15 +0000 (08:39 -0700)] 
=================================================
    open-vm-tools 12.3.5 released at this point.
=================================================
Update of the ChangeLog with the final changes in preparation for
the open-vm-tools 12.3.5 release.

2 years agoUpdate the ReleaseNotes.md for the 12.3.5 open-vm-tools release.
Katy Feng [Thu, 26 Oct 2023 15:35:59 +0000 (08:35 -0700)] 
Update the ReleaseNotes.md for the 12.3.5 open-vm-tools release.

2 years agoPrepare for the open-vm-tools 12.3.5 release.
Katy Feng [Wed, 25 Oct 2023 18:13:15 +0000 (11:13 -0700)] 
Prepare for the open-vm-tools 12.3.5 release.
- Update the tools version in the configure.ac.
- Update the build numbers in the buldNumber.h.

2 years agoUpdate the ChangeLog file with the changes in the 12.3.5 open-vm-tools release.
Katy Feng [Tue, 17 Oct 2023 22:31:51 +0000 (15:31 -0700)] 
Update the ChangeLog file with the changes in the 12.3.5 open-vm-tools release.
- plus the 12.3.0 open-vm-tools release point in the ChangeLog.

2 years agoDon't accept tokens with unrelated certs
Katy Feng [Tue, 17 Oct 2023 22:24:48 +0000 (15:24 -0700)] 
Don't accept tokens with unrelated certs

If a SAML token has a cert that's not a part of a chain,
fail the token as invalid.

2 years agoFile descriptor vulnerability in the open-vm-tools vmware-user-suid-wrapperx
Katy Feng [Tue, 17 Oct 2023 22:24:48 +0000 (15:24 -0700)] 
File descriptor vulnerability in the open-vm-tools vmware-user-suid-wrapperx
on Linux

Moving the privilege drop logic (dropping privilege to the real uid and
gid of the process for the vmusr service) from suidWrapper to vmtoolsd code.
Now the vmtoolsd is not executed with dropped privileges (started as setuid
program) and the dumpable attribute of the process is not reset.
The unprivileged user will not have access to the privileged file descriptors
in the vmtoolsd vmusr process.
Also, setting the FD_CLOEXEC flag for both uinputFd and blockFd preventing
the file descriptors being inherited any further from the vmtoolsd.

2 years agoSuppress optional arg to backup scripts when empty string.
Katy Feng [Tue, 17 Oct 2023 22:24:48 +0000 (15:24 -0700)] 
Suppress optional arg to backup scripts when empty string.
Backup scripts can be called with an optional argument. Don't pass the
optional arg to the script if it's an empty string.

2 years agoChecking flag 'disable_vmware_customization' in more cloud-init config files
Katy Feng [Tue, 17 Oct 2023 22:24:48 +0000 (15:24 -0700)] 
Checking flag 'disable_vmware_customization' in more cloud-init config files

Currently, deployPkg plugin checks the existence of flag
'disable_vmware_customization: false' in the /etc/cloud/cloud.cfg file
to determine if VMware customization is enabled or not on cloud-init
side when cloud-init is available in guest.
Both cloud-init team and customers suggested that it's better practice to
put local configuration like this flag into some .cfg files under
/etc/cloud/cloud.cfg.d directory, ex: /etc/cloud/cloud.cfg.d/somefile.cfg

This change implements the following adjustments to make sure we handle
this flag the same way as cloud-init does in ds-identify and Datasource:
1. Instead of regex matching flag 'disable_vmware_customization: false',
we will check the value of flag 'disable_vmware_customization':
If the value is 'false', it means VMware customization is enabled.
If the value is 'true', it means VMware customization is disabled.
If the flag is not set, by default VMware customization is disabled
on cloud-init side.
2. Besides cloud-init /etc/cloud/cloud.cfg file, we will check all .cfg
files under /etc/cloud/cloud.cfg.d directory.
3. The value of flag 'disable_vmware_customization' in .cfg files under
/etc/cloud/cloud.cfg.d directory will overwrite the one in
/etc/cloud/cloud.cfg file.
4. The value of flag 'disable_vmware_customization' in a .cfg file listed
further down the alphabetical order under /etc/cloud/cloud.cfg.d directory
will overwrite the value in a .cfg file listed earier.
5. If a cloud-init config file contains more than one instance of this
flag, the value of the later flag will overwrite the former one's.

Github Issue: https://github.com/vmware/open-vm-tools/issues/310

2 years agoAdd missed 2023 copyright change.
Katy Feng [Tue, 17 Oct 2023 22:24:48 +0000 (15:24 -0700)] 
Add missed 2023 copyright change.

2 years agoEnabling the open-vm-tools VGAuth Host Verification feature.
Katy Feng [Tue, 17 Oct 2023 22:24:48 +0000 (15:24 -0700)] 
Enabling the open-vm-tools VGAuth Host Verification feature.

The Host Verified SAML token work is complete. Adding the new code to the
open-vm-tools source.