aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/include
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-05-12 03:08:59 +0000
committerChristopher Faylor <me@cgf.cx>2002-05-12 03:08:59 +0000
commit29ee580d07d537ec3f57c7ba1f95488513a81eff (patch)
treeaf40e2848dddd0489cc09af4919a780efdb9c5b5 /winsup/cygwin/include
parentb84621d2e3bfcf29f1ce1e700e3b4cd895dff2fd (diff)
downloadnewlib-29ee580d07d537ec3f57c7ba1f95488513a81eff.zip
newlib-29ee580d07d537ec3f57c7ba1f95488513a81eff.tar.gz
newlib-29ee580d07d537ec3f57c7ba1f95488513a81eff.tar.bz2
* fhandler.h (executable_states): For now, make dont_care_if_executable
equivalent to not_executable. * sys/mount.h: Define MOUNT_NOTEXEC. * path.h (fs_info): New class. (path_conv): Move fs-specific fields to new 'fs' structure. (path_conv::update_fs_info): Move to fs_info and rename to just 'update'. * path.cc (fs_info::update): Ditto. Return 'true' if successful. (fillout_mntent): Add ',noexec' to list of reported options.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/sys/mount.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/include/sys/mount.h b/winsup/cygwin/include/sys/mount.h
index 00b7a01..a7ae25c 100644
--- a/winsup/cygwin/include/sys/mount.h
+++ b/winsup/cygwin/include/sys/mount.h
@@ -24,7 +24,9 @@ enum
MOUNT_AUTO = 0x020, /* mount point refers to auto device mount */
MOUNT_CYGWIN_EXEC = 0x040, /* file or directory is or contains a cygwin
executable */
- MOUNT_MIXED = 0x080, /* reads are text, writes are binary */
+ MOUNT_MIXED = 0x080, /* reads are text, writes are binary
+ not yet implemented */
+ MOUNT_NOTEXEC = 0x100 /* don't check files for executable magic */
};
int mount (const char *, const char *, unsigned __flags);