]> git.ipfire.org Git - thirdparty/open-vm-tools.git/log
thirdparty/open-vm-tools.git
20 months agoChange to common header file not applicable to open-vm-tools.
Kruti [Tue, 21 May 2024 05:58:13 +0000 (22:58 -0700)] 
Change to common header file not applicable to open-vm-tools.

20 months agoVerify the xmlsec version before passing the compiler flag "-DXMLSEC_NO_SIZE_T",
Kruti [Tue, 21 May 2024 05:58:13 +0000 (22:58 -0700)] 
Verify the xmlsec version before passing the compiler flag "-DXMLSEC_NO_SIZE_T",
as it has been deprecated since 1.3.3.

The configure option "--enable-size-t" has been set to yes by default starting
with 1.3.0.

version < 1.3.0 :
  Add "-DXMLSEC_NO_SIZE_T" if size_t has a size other than 4 bytes.
  (There was no enable-size-t before 1.2.35 and the enable-size-t is
   "no" by default in [1.2.35, 1.3.0))
version >= 1.3.0 :
  Do not add "-DXMLSEC_NO_SIZE_T" (as enable-size-t is "yes" by
  default in version [1.3.0, 1.3.3) and no need to consider this
  option since 1.3.3)

20 months agoChange to common header file not applicable to open-vm-tools.
Kruti [Tue, 21 May 2024 05:58:13 +0000 (22:58 -0700)] 
Change to common header file not applicable to open-vm-tools.

20 months agoChange to common header file not applicable to open-vm-tools.
Kruti [Tue, 21 May 2024 05:58:12 +0000 (22:58 -0700)] 
Change to common header file not applicable to open-vm-tools.

20 months agoChange to common header file not applicable to open-vm-tools.
Kruti [Tue, 21 May 2024 05:58:12 +0000 (22:58 -0700)] 
Change to common header file not applicable to open-vm-tools.

20 months agoChange to common header file not applicable to open-vm-tools.
Kruti [Tue, 21 May 2024 05:58:12 +0000 (22:58 -0700)] 
Change to common header file not applicable to open-vm-tools.

20 months agoChange to common source files not applicable to open-vm-tools.
Kruti [Tue, 21 May 2024 05:58:12 +0000 (22:58 -0700)] 
Change to common source files not applicable to open-vm-tools.

20 months agoChange to common header file not applicable to open-vm-tools.
Kruti [Tue, 21 May 2024 05:58:12 +0000 (22:58 -0700)] 
Change to common header file not applicable to open-vm-tools.

20 months agoChange to common header file not applicable to open-vm-tools.
Kruti [Tue, 21 May 2024 05:58:12 +0000 (22:58 -0700)] 
Change to common header file not applicable to open-vm-tools.

20 months agoChange to common source file not directly applicable to open-vm-tools.
Kruti [Tue, 21 May 2024 05:58:12 +0000 (22:58 -0700)] 
Change to common source file not directly applicable to open-vm-tools.

20 months agoRemove unused header files from the open-vm-tools source bundle.
Kruti [Tue, 21 May 2024 05:58:12 +0000 (22:58 -0700)] 
Remove unused header files from the open-vm-tools source bundle.

20 months agoLog customized error exit code from offspring processes.
Kruti [Tue, 21 May 2024 05:58:12 +0000 (22:58 -0700)] 
Log customized error exit code from offspring processes.

20 months agoChange to common header file not applicable to open-vm-tools.
Kruti [Tue, 21 May 2024 05:58:12 +0000 (22:58 -0700)] 
Change to common header file not applicable to open-vm-tools.

20 months agoFix copyright years.
Kruti [Tue, 21 May 2024 05:58:12 +0000 (22:58 -0700)] 
Fix copyright years.

20 months ago[Coverity]: UNINIT in resolutionSet finding from static application
Kruti [Tue, 21 May 2024 05:58:12 +0000 (22:58 -0700)] 
[Coverity]: UNINIT in resolutionSet finding from static application
            security testing (SAST)

resolutionSet.c -- 1 issue reported in the file
issue: capabilityArray not initialized or partially initialized when
       reaching the statement.
impact: False-positive
fix: suppress 'uninit_use_in_call'

VMTools_WrapArray converts the capabilityArray to a GArray.
The 'wrapped' array is allocated space for capabilityCount elements and
only the first capabilityCount elements are COPIED from capabilityArray
to the allocated GArray.  As such, the uninitialized elements of the
capabilityArray are never used to generate the returned GArray.  While
technically true (uninitialized) there is no reason to zero the array
indexes from capabilityCount through to the end of the array as these
elements are unused.

20 months agoChange to common header file not applicable to open-vm-tools.
Kruti [Tue, 21 May 2024 05:58:12 +0000 (22:58 -0700)] 
Change to common header file not applicable to open-vm-tools.

20 months agoFix LOCK_EVASION issue found by Coverity scan.
Kruti [Tue, 21 May 2024 05:58:12 +0000 (22:58 -0700)] 
Fix LOCK_EVASION issue found by Coverity scan.

fileLogger.c -- 2 issues reported in file
issue: MultiReader/SingleWriter lock race conditions between assign and
       check.
fix: Mitigation more than fix.

issue: Coverity seems confused by the MR/SW lock, but there is some data
       field assignment performed under the wrong lock to clean up.
       fix: Move assignment made under Read lock to Write lock.

Moved setting the data->error status inside of writer lock block.

Added re-checking the data->error status at reader -> writer and
writer -> reader lock transitions.

20 months agoChange to common header file not applicable to open-vm-tools.
Kruti [Tue, 21 May 2024 05:58:12 +0000 (22:58 -0700)] 
Change to common header file not applicable to open-vm-tools.

21 months agoUpdate ChangeLog with the granular push of May 3, 2024.
Kruti [Fri, 3 May 2024 16:27:03 +0000 (09:27 -0700)] 
Update ChangeLog with the granular push of May 3, 2024.
- plus Copyright modification of files vmxnet3_defs.h and
  get-connection-info.sh.
- plus ChangeLog update of Apr 7, 2024.

21 months agoCopyright update.
Kruti [Fri, 3 May 2024 16:15:25 +0000 (09:15 -0700)] 
Copyright update.

21 months agoChange to common header file not applicable to open-vm-tools.
Kruti [Fri, 3 May 2024 16:05:45 +0000 (09:05 -0700)] 
Change to common header file not applicable to open-vm-tools.

21 months agoProcManagerPosix.c: Direct child process's logs to stdio.
Kruti [Fri, 3 May 2024 16:05:45 +0000 (09:05 -0700)] 
ProcManagerPosix.c:  Direct child process's logs to stdio.

Mutexes in lib/libvmtools/vmtoolsLog.c and glib could have been locked
at fork time.  The vmtoolsLog.c Debug(), Warning() and Panic()functions
are not safe for child processes.
 - Direct the offspring process's logs to stdio.
 - Terminate the offspring process with _exit() or abort().

21 months agoFix the Y2K38_SAFETY finding found by Coverity scan.
Kruti [Fri, 3 May 2024 16:05:45 +0000 (09:05 -0700)] 
Fix the Y2K38_SAFETY finding found by Coverity scan.

Change the date type to 'long long' to make the size be 64 bits,
same as that of time_t.

21 months agoService Discovery data collection duration takes > 70 minutes when
Kruti [Fri, 3 May 2024 16:05:45 +0000 (09:05 -0700)] 
Service Discovery data collection duration takes > 70 minutes when
monitoring large setups.

The issue happens on vrops node VMs that are part of large clusters
because these kind of nodes typically have a large amount of tcp/udp
connections.  The root cause of the issue is an enormous number of
spaces generated by "ss -antup | grep -E $pattern" command in
get-connection-info.sh. The SDMP plugin considers these spaces while
calculating the chunk size for writing into NDB and writing about 200-400
chunks for the get-connection-info key.  Processing of this amount of
data slows down the discovery process on both the adapter and plugin sides
and, as a result, the discovery exceeds the timing limit and fails.

The solution is to remove unnecessary spaces from the end of the
get-connection-info output lines.

21 months agoChange to common source file not applicable to open-vm-tools at this time.
Kruti [Fri, 3 May 2024 16:05:45 +0000 (09:05 -0700)] 
Change to common source file not applicable to open-vm-tools at this time.

21 months agoRecord the use of version 12.4.5 in the vm_tools_version.h header
Kruti [Fri, 3 May 2024 16:05:45 +0000 (09:05 -0700)] 
Record the use of version 12.4.5 in the vm_tools_version.h header

21 months agoFixes for issues found in Coverity scan.
Kruti [Fri, 3 May 2024 16:05:45 +0000 (09:05 -0700)] 
Fixes for issues found in Coverity scan.

vgauth/serviceImpl/saml-xmlsec1.c
issue: 'string_null' for strlen(pemCert)
impact: False-positive
fix: suppress 'string_null'
issue: leaked_storage: certChain is not cleaned up on error.
impact: Memory is leaked on the error path.
fix: Add line before return to free certChain.

vgauth/common/i18n.c
issue: 'leaked_storage' for "name" variable
impact: False-positive
fix: suppress 'leaked_storage'

lib/file/file.c
issue: use_after_free for 'src' pointer
impact: False-positive
fix: suppress 'use_after_free'

services/plugins/serviceDiscovery/serviceDiscovery.c
issue: overrun-local: gdpErrMsgs array contains one less entry then there are
       enum defined.
impact: Valid but the function never return the GDP_ERR_MAX enum.
fix: in gdp.h, add an error entry for GDP_ERR_MAX this way gdpErrMsgs will
generate all entries.

lib/file/fileLockPosix.c
issue: string_null for 'buffer' not being null terminated.
impact: False-positive
fix: suppress 'string_null'

21 months agoChange to common header file not applicable to open-vm-tools.
Kruti [Fri, 3 May 2024 16:05:45 +0000 (09:05 -0700)] 
Change to common header file not applicable to open-vm-tools.

21 months agoChange to common header file not applicable to open-vm-tools.
Kruti [Fri, 3 May 2024 16:05:45 +0000 (09:05 -0700)] 
Change to common header file not applicable to open-vm-tools.

21 months agoFix the SHELLCHECK_WARNING findings from static application security testing
Kruti [Fri, 3 May 2024 16:05:45 +0000 (09:05 -0700)] 
Fix the SHELLCHECK_WARNING findings from static application security testing
(SAST)

install/Linux/scripts/network: Multiple shellcheck issues found in the
Linux "network" script with the warning "Remove backticks to avoid
executing output (or use eval if intentional)."

Removed the backticks from those corresponding lines of the script.

21 months ago[Coverity]: Fix the Y2K38_SAFETY findings from static application security
Kruti [Fri, 3 May 2024 16:05:45 +0000 (09:05 -0700)] 
[Coverity]: Fix the Y2K38_SAFETY findings from static application security
testing (SAST)

guestInfoServer.c -- 2 issues reported in file
issue: casting time_t (64bits) to int (32bits) causing Y2K38_SAFETY.
impact: delta is a time delta in seconds, overflow if delta >=
(G_MAXINT/1000)+1
fix: Remove cast on delta, cast both values as int64.

issue: casting time_t to int for logging to a '%d'.
impact: delta is a time delta in seconds, not expected to overflow a 32 bit
int.
fix: Remove cast on delta, change string to use '%"FMT64"d' format and cast
the time_t to int64; time_t is defined as 'long int'.

vixTools.c -- 7 issues reported in file
issue: casting time_t to int for convertion to string (xml)
impact: procStartTime is a time from epoch, it will overflow the int in Y2K38.
fix: Remove the cast, change the string to use '%"FMT64"d"' and cast the
time_t to int64; time_t is defined as 'long int'.

issues: casting time_t to int in call to VixToolsPrintProcInfoEx.
impact: The times used are time from epoch and will be impacted by Y2K38.
fix: Change signature of VixToolsPrintProcInfoEx to take in time_t types.
Change VixToolsPrintProcInfoEx to use '%"FMT64"d' in string conversions.
and cast the time_t to int64; time_t is defined as 'long int'.

21 months agoChange to common header file not applicable to open-vm-tools.
Kruti [Fri, 3 May 2024 16:05:44 +0000 (09:05 -0700)] 
Change to common header file not applicable to open-vm-tools.

21 months agoChange to common header file not applicable to open-vm-tools.
Kruti [Fri, 3 May 2024 16:05:44 +0000 (09:05 -0700)] 
Change to common header file not applicable to open-vm-tools.

21 months agoStyle correction in Broadcom copyright.
Kruti [Fri, 3 May 2024 16:05:44 +0000 (09:05 -0700)] 
Style correction in Broadcom copyright.

21 months agoChange to common header file not applicable to open-vm-tools.
Kruti [Fri, 3 May 2024 16:05:44 +0000 (09:05 -0700)] 
Change to common header file not applicable to open-vm-tools.

21 months agoChange to common header file not applicable to open-vm-tools.
Kruti [Fri, 3 May 2024 16:05:44 +0000 (09:05 -0700)] 
Change to common header file not applicable to open-vm-tools.

21 months agoChange to common source files not applicable to open-vm-tools.
Kruti [Fri, 3 May 2024 16:05:44 +0000 (09:05 -0700)] 
Change to common source files not applicable to open-vm-tools.

21 months agoStop the glib based logging to avoid nested logging from RpcChannel error.
Kruti [Fri, 3 May 2024 16:05:44 +0000 (09:05 -0700)] 
Stop the glib based logging to avoid nested logging from RpcChannel error.

21 months agoGuestOS: Explicitly identify Flatcar Linux
Kruti [Fri, 3 May 2024 16:05:44 +0000 (09:05 -0700)] 
GuestOS: Explicitly identify Flatcar Linux

We support a VMX guestOS string for Flatcar Linux ("flatcar-64").
Update the guest identification code to report Flatcar, rather than
generically (other linux <n> - 64).

21 months agoUpdate ChangeLog with the granular push of Apr 7, 2024.
Kruti [Mon, 8 Apr 2024 06:49:24 +0000 (23:49 -0700)] 
Update ChangeLog with the granular push of Apr 7, 2024.
- Plus ChangeLog update Mar 18, 2024.

21 months agoUpdate NetworkManager calls in suspend/resume scripts.
Kruti [Mon, 8 Apr 2024 06:26:32 +0000 (23:26 -0700)] 
Update NetworkManager calls in suspend/resume scripts.

Revise the NetworkManager calls in the Linux network script to
prefer using the Sleep method over the "Enable" method being used
to work around a bug in version 0.9.0.

Pull request: https://github.com/vmware/open-vm-tools/pull/699
Issue: https://github.com/vmware/open-vm-tools/issues/426

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

21 months agoChange to common source file not applicable to open-vm-tools.
Kruti [Mon, 8 Apr 2024 06:26:32 +0000 (23:26 -0700)] 
Change to common source file not applicable to open-vm-tools.

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

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

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

21 months agoLinux network log file permissions fix: 0644 to 0600
Kruti [Mon, 8 Apr 2024 06:26:31 +0000 (23:26 -0700)] 
Linux network log file permissions fix: 0644 to 0600
Since release 11.3.5, on linux guests, the vmware-network.log file has root
default file creation permissions (0644) rather than the expected 0600
permissions.

Fix:
- Adding chmod 0600 on log file creation.
- Adding file creation before first logging.
- Adding handling of unset handler in case switch, default to file logging.
- Adding logging of unknown or bad handler, and using file logging as default.
- Default number of logfiles when network.maxOldLogFiles is set to 0.

21 months 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.

21 months 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.

21 months 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.

22 months 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.

22 months 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'

22 months 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.

22 months 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.

22 months 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.

22 months 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.

22 months 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.

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

22 months 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.

22 months 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.

22 months 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.

22 months 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.

22 months 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.

22 months 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.

22 months 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.

22 months 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.

22 months 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.

22 months 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.

22 months 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.

22 months 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.

22 months 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.

22 months 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.

22 months 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.

22 months 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.

22 months 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.

22 months 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.

23 months 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.

23 months 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.

23 months 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.

23 months 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.

23 months 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.

23 months 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.

23 months 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

23 months 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.

23 months 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.

23 months 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.

23 months 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.

23 months 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.

23 months 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.

23 months 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.

23 months 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.

23 months 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.

23 months 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.

23 months 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.

23 months 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.

23 months 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.