From 29ee580d07d537ec3f57c7ba1f95488513a81eff Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 12 May 2002 03:08:59 +0000 Subject: * 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. --- winsup/cygwin/include/sys/mount.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/include') 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); -- cgit v1.1