* 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.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user