Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/utils/mount.cc')
-rw-r--r--winsup/utils/mount.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/utils/mount.cc b/winsup/utils/mount.cc
index 89220f20f..4a874b566 100644
--- a/winsup/utils/mount.cc
+++ b/winsup/utils/mount.cc
@@ -423,6 +423,8 @@ mount_commands (void)
strcat (opts, " -x");
if (strstr (p->mnt_opts, ",noexec"))
strcat (opts, " -E");
+ if (strstr (p->mnt_opts, ",cygexec"))
+ strcat (opts, " -X");
if (strstr (p->mnt_opts, ",managed"))
strcat (opts, " -o managed");
while ((c = strchr (p->mnt_fsname, '\\')) != NULL)