]> git.ipfire.org Git - thirdparty/open-vm-tools.git/log
thirdparty/open-vm-tools.git
5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 11 Sep 2020 19:11:05 +0000 (12:11 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years agoChange to common header file not applicable to open-vm-tools.
John Wolfe [Fri, 11 Sep 2020 19:11:05 +0000 (12:11 -0700)] 
Change to common header file not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 11 Sep 2020 19:11:04 +0000 (12:11 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years agoBack out earlier common header file changes.
John Wolfe [Fri, 11 Sep 2020 19:11:04 +0000 (12:11 -0700)] 
Back out earlier common header file changes.

5 years agoBackout the previous header file change.
John Wolfe [Fri, 11 Sep 2020 19:11:04 +0000 (12:11 -0700)] 
Backout the previous header file change.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 11 Sep 2020 19:11:04 +0000 (12:11 -0700)] 
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 Sep 2020 19:11:04 +0000 (12:11 -0700)] 
Changes to common header files not applicable to open-vm-tools.

5 years agoReplace a bogus URL provided in a vmcheck.c error message.
John Wolfe [Fri, 11 Sep 2020 19:11:04 +0000 (12:11 -0700)] 
Replace a bogus URL provided in a vmcheck.c error message.

Previously the URL "http://www.vmware.com/info?id=99" appeared in
an error message in the vmware_checkvm binary to refer to VMware Tools
updating information that may change from one release to the next.
That information is now available from the single VMware Tools URL"
https://docs.vmware.com/en/VMware-Tools/index.html.

5 years agoGet rid of more vmware_pack files.
John Wolfe [Fri, 11 Sep 2020 19:11:04 +0000 (12:11 -0700)] 
Get rid of more vmware_pack files.

gcc supports the Microsoft-style "pragma pack" syntax.
Standardize on it.  The conversion is somewhat non-trivial,
as gcc requires "pragma" to be before or after a statement,
not in the middle.

5 years agoCommon source file change not applicable to open-vm-tools.
John Wolfe [Fri, 11 Sep 2020 19:11:04 +0000 (12:11 -0700)] 
Common source file change not applicable to open-vm-tools.

5 years agoLog Facility: Infrastructure changes for module level filtering
John Wolfe [Fri, 11 Sep 2020 19:11:04 +0000 (12:11 -0700)] 
Log Facility: Infrastructure changes for module level filtering

Additional changes to log.h and loglevel_userVars.h

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 11 Sep 2020 19:11:04 +0000 (12:11 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years agoRemove PANIC() macro in favor of Panic() or VERIFY()
John Wolfe [Fri, 11 Sep 2020 19:11:04 +0000 (12:11 -0700)] 
Remove PANIC() macro in favor of Panic() or VERIFY()

5 years agoRecord usage of VMware Tools version 11.1.6
John Wolfe [Fri, 11 Sep 2020 19:11:04 +0000 (12:11 -0700)] 
Record usage of VMware Tools version 11.1.6

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 11 Sep 2020 19:11:03 +0000 (12:11 -0700)] 
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 Sep 2020 19:11:03 +0000 (12:11 -0700)] 
Changes to common header files not applicable to open-vm-tools.

5 years agoAdding null check for results passed to log function.
John Wolfe [Fri, 11 Sep 2020 19:11:03 +0000 (12:11 -0700)] 
Adding null check for results passed to log function.

In several files, replies/results from RPC functions can possibly be
null if the function fails.  This changeset adds a function-like macro
which does the null checks and is applied to the replies when passed
into logging functions.

5 years agoEnsure the servicediscovery plugin isn't enabled in an open-vm-tools build for non...
John Wolfe [Fri, 11 Sep 2020 19:11:03 +0000 (12:11 -0700)] 
Ensure the servicediscovery plugin isn't enabled in an open-vm-tools build for non Linux OS.

The servicediscovery plugin is supported only on Linux platforms.  This
change checks that this plugin is enabled only if the OS is Linux.
Otherwise, an error message is printed.

5 years agoTools consumes loglevel_user.h
John Wolfe [Fri, 11 Sep 2020 19:11:03 +0000 (12:11 -0700)] 
Tools consumes loglevel_user.h

Adding lib/include/loglevel_userVars.h.

5 years agoSplit out the log level defs from the log level vars.
John Wolfe [Fri, 11 Sep 2020 19:11:03 +0000 (12:11 -0700)] 
Split out the log level defs from the log level vars.

This way the Log Facility can use the same name space as LOG for its
domain specific level filtering by including loglevel_userVars.h directly.

5 years agoBackout the previous log level defines change.
John Wolfe [Fri, 11 Sep 2020 19:11:03 +0000 (12:11 -0700)] 
Backout the previous log level defines change.

5 years agoSplit out the log level defs from the log level vars.
John Wolfe [Fri, 11 Sep 2020 19:11:03 +0000 (12:11 -0700)] 
Split out the log level defs from the log level vars.

5 years agoGet rid of vmware_pack files (devices edition)
John Wolfe [Fri, 11 Sep 2020 19:11:03 +0000 (12:11 -0700)] 
Get rid of vmware_pack files (devices edition)

gcc supports the Microsoft-style "pragma pack" syntax.
Standardize on it.  The conversion is somewhat non-trivial,
as gcc requires "pragma" to be before or after a statement,
not in the middle.

5 years agovm_assert.h: Remove unused PANIC_BUG
John Wolfe [Fri, 11 Sep 2020 19:11:03 +0000 (12:11 -0700)] 
vm_assert.h: Remove unused PANIC_BUG

5 years agoSwap out Log+PANIC for Panic
John Wolfe [Fri, 11 Sep 2020 19:11:03 +0000 (12:11 -0700)] 
Swap out Log+PANIC for Panic

Just call Panic with an appropriate string instead of a Log+PANIC.

5 years agoLOG: Keep the LOG_LEVEL entries sorted
John Wolfe [Fri, 11 Sep 2020 19:11:02 +0000 (12:11 -0700)] 
LOG: Keep the LOG_LEVEL entries sorted

This is the first in a series of changes to the Log Facility that will add
the ability to have domain specific filtering (e.g. foobar domain can have
log calls which are filtered by domain (name) and level).  This will make
LOG like abilities usable in all build types, even a release build.

The LOG_LEVEL entries are difficult to find since they are in a jumbled
order.  The existing grouping isn't useful as many of the modules are shared.
Create one big sorted list.

5 years agoCommon header file change not directly applicable to open-vm-tools.
John Wolfe [Fri, 11 Sep 2020 19:11:02 +0000 (12:11 -0700)] 
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, 11 Sep 2020 19:11:02 +0000 (12:11 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years agoRemoving unnecessary code from rpc header file.
John Wolfe [Fri, 11 Sep 2020 19:11:02 +0000 (12:11 -0700)] 
Removing unnecessary code from rpc header file.

Several macros related to VMDB are no longer needed in the guestrpc
header file.  This change deletes those unused macros.

5 years agoImprove the logging for deployPkg in a few workflows
John Wolfe [Fri, 11 Sep 2020 19:11:02 +0000 (12:11 -0700)] 
Improve the logging for deployPkg in a few workflows

When executing Perl script in Linux Guest OS customization, log an
error if the execution fails.

5 years agoAdd --cmdfile argument
John Wolfe [Fri, 11 Sep 2020 19:11:02 +0000 (12:11 -0700)] 
Add --cmdfile argument

Some OSes (Windows) have a relatively small cmdline limit.
Expose a cmdfile argument which works like --cmd, but
reads the input from a file.  This allows RPCs which can
have huge arguments (guestVars, namespaceDB, DataSets) to work.

5 years agoCommon source file change not applicable to open-vm-tools.
John Wolfe [Fri, 11 Sep 2020 19:11:02 +0000 (12:11 -0700)] 
Common source file change not applicable to open-vm-tools.

5 years agoFix a stack-use-after-scope issue in FileLockScanDirectory.
John Wolfe [Fri, 11 Sep 2020 19:11:02 +0000 (12:11 -0700)] 
Fix a stack-use-after-scope issue in FileLockScanDirectory.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 11 Sep 2020 19:11:02 +0000 (12:11 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years agoMerge branch 'stable-11.1.x' - bring ChangeLog up to date
John Wolfe [Wed, 2 Sep 2020 20:13:08 +0000 (13:13 -0700)] 
Merge branch 'stable-11.1.x' - bring ChangeLog up to date

5 years agoUpdate ChangeLog with 11.1.0 and 11.1.5 changes on this branch stable-11.1.x
John Wolfe [Wed, 2 Sep 2020 20:10:27 +0000 (13:10 -0700)] 
Update ChangeLog with 11.1.0 and 11.1.5 changes on this branch

5 years agoMerge branch 'stable-11.1.x' for the 11.1.5 release
John Wolfe [Wed, 19 Aug 2020 20:51:37 +0000 (13:51 -0700)] 
Merge branch 'stable-11.1.x' for the 11.1.5 release

5 years agoRelease Notes for 11.1.5 stable-11.1.5
John Wolfe [Wed, 19 Aug 2020 19:16:02 +0000 (12:16 -0700)] 
Release Notes for 11.1.5

5 years agoUpdate version to 11.1.5 and set final build numbers
John Wolfe [Wed, 19 Aug 2020 17:47:36 +0000 (10:47 -0700)] 
Update version to 11.1.5 and set final build numbers

5 years agoRemove duplicate global definitions.
John Wolfe [Wed, 19 Aug 2020 17:01:17 +0000 (10:01 -0700)] 
Remove duplicate global definitions.

Remove duplicate and unused global definitions for
GDK_SELECTION_TYPE_TIMESTAMP and GDK_SELECTION_TYPE_UTF8_STRING.

This fix will address https://github.com/vmware/open-vm-tools/issues/451

5 years agoFix Coverity-reported dead code issue.
John Wolfe [Wed, 19 Aug 2020 17:01:17 +0000 (10:01 -0700)] 
Fix Coverity-reported dead code issue.

The underlying problem was that retryCount was being zeroed on every
iteration of the while loop.  Zero it before entering the loop instead.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Wed, 19 Aug 2020 17:01:17 +0000 (10:01 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years agoCode cleanup to address a Coverity issue.
John Wolfe [Wed, 19 Aug 2020 17:01:17 +0000 (10:01 -0700)] 
Code cleanup to address a Coverity issue.

Coverity reports a "dereference after NULL check" in
BkdoorChannelStart.  However, at the point of dereference
it's known that chan->inStarted is TRUE, which means chan->in
is guaranteed to be non-NULL, so it's not a bug.

Still, given that an input channel, if present, must have been
started before calling BkdoorChannelStart, it's possible to do
some code cleanup that will also get Coverity to stop reporting
the issue.  Change what's currently a test into an ASSERT, test
chan->in rather than chan->inStarted, and add comments to make
it clearer what's going on.

5 years agoImplement the Set_option handler in appInfo plugin.
John Wolfe [Wed, 19 Aug 2020 17:01:17 +0000 (10:01 -0700)] 
Implement the Set_option handler in appInfo plugin.

* Add a handler for Set_option in the appInfo plugin.
  The poll loop will be immediately turned off when
  the feature is turned off at the host side.
  The poll loop will be immediately turned on when
  the feature is turned on at the host side.

* Add code to handle VM vmotion to an older host that
  doesn't have logic to send 'set_option'.

* Fix some miscellaneous issues in the appinfo plugin.
  Use the proper @param and @return statements in the
  function documentation for AppInfoServerSetOption.

  Reorganize an "if" code block.

5 years agoFix a Coverity-reported NULL pointer issue.
John Wolfe [Wed, 19 Aug 2020 17:01:17 +0000 (10:01 -0700)] 
Fix a Coverity-reported NULL pointer issue.

5 years agoFix a dereference after null check reported by Coverity.
John Wolfe [Wed, 19 Aug 2020 17:01:17 +0000 (10:01 -0700)] 
Fix a dereference after null check reported by Coverity.

Original Description:
| Fix dereference after null check reported by Coverity.
|
| Remove a superfluous NULL pointer test that causes Coverity
| to report a dereference after null check.
|
| QA Notes:
| Testing Done:
| - Sandboxes:
| -- obj: Build 36442558 queued (vgauth-sdk/main):
|    https://buildweb.eng.vmware.com/sb/36442558/
| -- obj: Build 36442647 queued (tools/main):
|    https://buildweb.eng.vmware.com/sb/36442647/
| Documentation Notes:
| Bug Number: 2571476
| Reviewed by: jwolfe, lemke, stanguturi
| Approved by:
| Mailto:
| Review URL: https://reviewboard.eng.vmware.com/r/1668542/
| SVS Submit Restricted: Yes
| Post Submit Tests:

5 years agoServiceDiscovery: Replacing deprecated 'netstat' command with 'ss'
John Wolfe [Wed, 19 Aug 2020 17:01:17 +0000 (10:01 -0700)] 
ServiceDiscovery: Replacing deprecated 'netstat' command with 'ss'

Updating the Linux serviceDiscovery scripts to use "ss" in place of
the deprecated "netstat" command.

5 years agoPick up the LSB distro file for ALT Linux
John Wolfe [Wed, 19 Aug 2020 17:01:17 +0000 (10:01 -0700)] 
Pick up the LSB distro file for ALT Linux

Improve the documentation of the Linux identification routine so others
know that nothing needs to be changed in the field.
Only VMware needs to add identification codes.

https://github.com/vmware/open-vm-tools/pull/431

5 years agoServiceDiscovery: Deleting keys from NDB by chunks to reduce RPC calls.
John Wolfe [Wed, 19 Aug 2020 17:01:17 +0000 (10:01 -0700)] 
ServiceDiscovery: Deleting keys from NDB by chunks to reduce RPC calls.

Setting chunk size to 25 keys at a time.

5 years agoMake peeking back into the stack work for back traces
John Wolfe [Wed, 19 Aug 2020 17:01:16 +0000 (10:01 -0700)] 
Make peeking back into the stack work for back traces

GCC 10 doesn't like peeking back before the end of an arrary (which
is used to peek into the stack).  Fix this.

https://github.com/vmware/open-vm-tools/issues/429

5 years ago[AppInfo] Tweak the gather loop only for a real config reload.
John Wolfe [Wed, 19 Aug 2020 17:01:16 +0000 (10:01 -0700)] 
[AppInfo] Tweak the gather loop only for a real config reload.

The poll loop for appInfo is being tweaked (destroyed and recreated)
for every tools.conf reload, even when nothing related to appinfo changed.
This may cause a few scenarios where the 'application information'
will never be collected inside the guest.  Tweak the loop only when there
is a real appinfo related config change in the tools.conf file.

5 years agoDirective argument is null from GCC 9.3.0
John Wolfe [Wed, 19 Aug 2020 17:01:16 +0000 (10:01 -0700)] 
Directive argument is null from GCC 9.3.0

There are paths that do not properly deal with NULL in FileMakeTempEx2Work.
Fix this.

https://github.com/vmware/open-vm-tools/issues/428

5 years agoFree old ununsed loggers when tools.conf changes.
John Wolfe [Wed, 19 Aug 2020 17:01:16 +0000 (10:01 -0700)] 
Free old ununsed loggers when tools.conf changes.

Existing unused loggers are leaked when there is a change
in logging configuration.  Added a check to free the loggers
that are not used after tools.conf is modified.

5 years agoThe SDMP plugin generates a warning message every 5 minutes when there is no
John Wolfe [Wed, 19 Aug 2020 17:01:16 +0000 (10:01 -0700)] 
The SDMP plugin generates a warning message every 5 minutes when there is no
Namespace DB instance created on a VM.  Change the log level to
debug to solve the problem.

5 years agoserviceDiscovery: Updating 'get-versions.sh' script
John Wolfe [Wed, 19 Aug 2020 17:01:16 +0000 (10:01 -0700)] 
serviceDiscovery: Updating 'get-versions.sh' script

The following changes have been made:

1. Environment variable 'ALIVE_BASE' is used to construct the path of
   the file where vcops version is stored.  The variable is not available
   when running the script inside serviceDiscovery plugin process, so a
   hardcoded path is used.

2. Added command to retrieve tcserver version

5 years agoPrepare the branch for VMware Tools 11.1.5 update builds.
John Wolfe [Wed, 19 Aug 2020 17:01:16 +0000 (10:01 -0700)] 
Prepare the branch for VMware Tools 11.1.5 update builds.

Set the open-vm-tools version number to 11.1.5.

5 years agoUpdate copyright dates.
John Wolfe [Tue, 18 Aug 2020 14:46:26 +0000 (07:46 -0700)] 
Update copyright dates.

5 years agoRemove the guestApp.h header file that is not needed in conf.h
John Wolfe [Tue, 18 Aug 2020 14:14:12 +0000 (07:14 -0700)] 
Remove the guestApp.h header file that is not needed in conf.h

The configuration header file conf.h includes the guestapp header file
guestApp.h, but there are no related references to the guestapp header
file.  This change removes the unnecessary header file.
The guestApp.h header file is included in the few source files with
a dependency on it.

5 years agoIncluding appinfo and servicediscovery settings in configuration file
John Wolfe [Tue, 18 Aug 2020 14:14:12 +0000 (07:14 -0700)] 
Including appinfo and servicediscovery settings in configuration file

Adding the default configuration settings to the tools.conf sample.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Tue, 18 Aug 2020 14:14:12 +0000 (07:14 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years ago[HGFS Server] Add file attributes/symlink check status cache using oplock support
John Wolfe [Tue, 18 Aug 2020 14:14:12 +0000 (07:14 -0700)] 
[HGFS Server] Add file attributes/symlink check status cache using oplock support

An investigation found that while copying a group of small files from host
to guest using the shared folder, the HGFS_OP_GETATTR_V3 message was handled
in HGFS server 276,140 times over a period of ~35 seconds.

Caching the file attributes in HGFS on the server-side can reduce the time
significantly (from experimental results, 35s => 8s).

It was also discovered that Posix_RealPath is called repeatedly to check
whether a path is a symlink, since HgfsServerGetLocalNameInfo is called when
handling a series of requests.

Integrate a key-value cache to HGFS server to cache the symlink check results
and file attributes, using the file path as the key.  This task will be divided
into multiple change:

1. Add oplock support
2. Add a customized LRU cache in HGFS server for file attributes and
   symlink check results

-  New files:
   hgfsCache.h/c: implements a customized LRU cache which is built by
                  combining two data structures: a doubly linked list and
                  a hash table.

-  The cache will be allocated only when oplock is enabled.
-  The cache relies on the file change monitor provided by oplock to ensure
   there is no stale data.  When adding an entry into the cache, also
   register the file change callback to oplock.  Upon receiving the file change
   callback, invalidate the cache.  Once the cache is full, remove the LRU
   entry and unregister the file change callback for it.

5 years agoChange to common header files not applicable to open-vm-tools.
John Wolfe [Tue, 18 Aug 2020 14:14:11 +0000 (07:14 -0700)] 
Change to common header files not applicable to open-vm-tools.

5 years agoCommon header file change not directly applicable to open-vm-tools.
John Wolfe [Tue, 18 Aug 2020 14:14:11 +0000 (07:14 -0700)] 
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 [Tue, 18 Aug 2020 14:14:11 +0000 (07:14 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years agoDefine "Unknown Command" Macro to replace hard coded strings in rpc files
John Wolfe [Tue, 18 Aug 2020 14:14:11 +0000 (07:14 -0700)] 
Define "Unknown Command" Macro to replace hard coded strings in rpc files

This changeset finds all instances of the hardcoded string "Unknown Command"
in a few rpc files and replaces it with a macro defined in a shared header
file.

5 years agoChanges to common header files not directly applicable to open-vm-tools.
John Wolfe [Tue, 18 Aug 2020 14:14:11 +0000 (07:14 -0700)] 
Changes to common header files not directly applicable to open-vm-tools.

5 years agoChanges to common header files not applicable to open-vm-tools.
John Wolfe [Tue, 18 Aug 2020 14:14:11 +0000 (07:14 -0700)] 
Changes to common header files not applicable to open-vm-tools.

5 years agoFix log recursion issue in DestroyRpcChannel()
John Wolfe [Tue, 18 Aug 2020 14:14:11 +0000 (07:14 -0700)] 
Fix log recursion issue in DestroyRpcChannel()

Avoid calling g_xxx() logging routines in any function directly or
indirectly invoked from VmxGuestLog().  Change the g_debug() call in
DestroyRpcChannel() to a Debug() call.

5 years agoChanges to common source files not directly applicable to open-vm-tools.
John Wolfe [Tue, 18 Aug 2020 14:14:11 +0000 (07:14 -0700)] 
Changes to common source files not directly applicable to open-vm-tools.

5 years agoRemove #include for headers that are not needed in serviceDiscovery.c file.
John Wolfe [Tue, 18 Aug 2020 14:14:11 +0000 (07:14 -0700)] 
Remove #include for headers that are not needed in serviceDiscovery.c file.

5 years agoChanges to common source files not directly applicable to open-vm-tools.
John Wolfe [Tue, 18 Aug 2020 14:14:11 +0000 (07:14 -0700)] 
Changes to common source files not directly applicable to open-vm-tools.

5 years agoRemoving windows header file which is not needed for OVT build
John Wolfe [Tue, 18 Aug 2020 14:14:11 +0000 (07:14 -0700)] 
Removing windows header file which is not needed for OVT build

Changeset deletes code which references a Windows specific
header file and cleans up some whitespace.

5 years agoAdding vmtools library dependency to deploypkg library
John Wolfe [Tue, 18 Aug 2020 14:14:10 +0000 (07:14 -0700)] 
Adding vmtools library dependency to deploypkg library

Some functions are not found in shared libraries when linking,
which generates several warnings.  Added a library with
the needed functions to the list of dependencies.

5 years agoBackout the previous common souce file changes.
John Wolfe [Tue, 18 Aug 2020 14:14:10 +0000 (07:14 -0700)] 
Backout the previous common souce file changes.

Restore files to original state

5 years agoChanges to common source files not directly applicable to open-vm-tools.
John Wolfe [Tue, 18 Aug 2020 14:14:10 +0000 (07:14 -0700)] 
Changes to common source files not directly applicable to open-vm-tools.

5 years agoUpdate the copyright
John Wolfe [Wed, 12 Aug 2020 04:26:23 +0000 (21:26 -0700)] 
Update the copyright

5 years agoBackout the previous common souce file changes.
John Wolfe [Fri, 7 Aug 2020 19:03:26 +0000 (12:03 -0700)] 
Backout the previous common souce file changes.

5 years agoChanges to common source files not directly applicable to open-vm-tools.
John Wolfe [Fri, 7 Aug 2020 19:03:26 +0000 (12:03 -0700)] 
Changes to common source files not directly applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 7 Aug 2020 19:03:26 +0000 (12:03 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years agoAddress some Log spew for toolsdeployPkg.log
John Wolfe [Fri, 7 Aug 2020 19:03:26 +0000 (12:03 -0700)] 
Address some Log spew for toolsdeployPkg.log

1. Remove the extra '\n' at the tail of logging messages in imgcust.
2. Update the log printting function, do not add '\n' if the original
   log message has already included it.

5 years agoAdd copyright header to service discovery scripts
John Wolfe [Fri, 7 Aug 2020 19:03:26 +0000 (12:03 -0700)] 
Add copyright header to service discovery scripts

5 years agocommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 7 Aug 2020 19:03:26 +0000 (12:03 -0700)] 
common header file change not applicable to open-vm-tools.

5 years agoCommon source file changes not directly applicable to open-vm-tools.
John Wolfe [Fri, 7 Aug 2020 19:03:25 +0000 (12:03 -0700)] 
Common source file changes not directly applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 7 Aug 2020 19:03:25 +0000 (12:03 -0700)] 
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, 7 Aug 2020 19:03:25 +0000 (12:03 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years agoUpdating the copyright date on a few files.
John Wolfe [Fri, 7 Aug 2020 19:03:25 +0000 (12:03 -0700)] 
Updating the copyright date on a few files.

5 years agoResubmit the gcc baseline to 4.1 bump.
John Wolfe [Fri, 7 Aug 2020 19:03:25 +0000 (12:03 -0700)] 
Resubmit the gcc baseline to 4.1 bump.

5 years agoBackout the previous gcc-4.1 enforcement.
John Wolfe [Fri, 7 Aug 2020 19:03:25 +0000 (12:03 -0700)] 
Backout the previous gcc-4.1 enforcement.

5 years agoBump gcc baseline to 4.1
John Wolfe [Fri, 7 Aug 2020 19:03:25 +0000 (12:03 -0700)] 
Bump gcc baseline to 4.1

5 years ago[HGFS Server] Support oplock inside HGFS server for Windows host
John Wolfe [Fri, 7 Aug 2020 19:03:25 +0000 (12:03 -0700)] 
[HGFS Server] Support oplock inside HGFS server for Windows host

Missed two source files for previous HGFS Server changeset.

5 years ago[HGFS Server] Support oplock inside HGFS server for Windows host
John Wolfe [Fri, 7 Aug 2020 19:03:24 +0000 (12:03 -0700)] 
[HGFS Server] Support oplock inside HGFS server for Windows host

The motivation for this change is to cache file/directory related information
in host side, for example the file/directory attributes.  To make the cache
correct, we will use the oplock(Windows)/lease(Linux) to monitor the
file/directory change event.  When the file/directory changes, the item in
cache will be invalidated.

In this change, two new functions are defined:
- HgfsOplockMonitorFileChange
   This function is used to monitor the change event for a file/directory,
   and the callback will be called if file/directory is changed.
- HgfsOplockUnmonitorFileChange
   This function is used to cancel the change event monitoring.

This patch only implements the oplock support for Windows host, the support
for Linux will be delivered in another patch.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 7 Aug 2020 19:03:24 +0000 (12:03 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years agoThe new table driven guest identification code did not handle Red Hat
John Wolfe [Fri, 31 Jul 2020 20:36:35 +0000 (13:36 -0700)] 
The new table driven guest identification code did not handle Red Hat
properly.  It needs to be checked for before Enterprise Linux.

5 years agoChanges to common header files not applicable to open-vm-tools.
John Wolfe [Fri, 31 Jul 2020 20:36:35 +0000 (13:36 -0700)] 
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, 31 Jul 2020 20:36:35 +0000 (13:36 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years agoRemove duplicate global definitions.
John Wolfe [Fri, 31 Jul 2020 20:36:35 +0000 (13:36 -0700)] 
Remove duplicate global definitions.

Remove duplicate and unused global definitions for
GDK_SELECTION_TYPE_TIMESTAMP and GDK_SELECTION_TYPE_UTF8_STRING.

This fix will address https://github.com/vmware/open-vm-tools/issues/451

5 years agoChanges to common header files not applicable to open-vm-tools.
John Wolfe [Fri, 31 Jul 2020 20:36:35 +0000 (13:36 -0700)] 
Changes to common header files not applicable to open-vm-tools.

5 years agoserviceDiscovery: Double quoting script variables that might contain whitespaces.
John Wolfe [Fri, 31 Jul 2020 20:36:35 +0000 (13:36 -0700)] 
serviceDiscovery: Double quoting script variables that might contain whitespaces.

5 years agoUpdate to the tools.conf sample file not applicable to open-vm-tools.
John Wolfe [Fri, 31 Jul 2020 20:36:35 +0000 (13:36 -0700)] 
Update to the tools.conf sample file not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 31 Jul 2020 20:36:34 +0000 (13:36 -0700)] 
Common header file change not applicable to open-vm-tools.