From 9d86c13dbb5647d22f16a4baec38b2a27e75fddf Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 4 May 2009 09:16:42 +0000 Subject: * security.cc (set_file_sd): Drop using FILE_OPEN_FOR_RECOVERY flag in call to NtOpenFile. * exceptions.cc (open_stackdumpfile): Ditto in call to NtCreateFile. * fhandler.cc (fhandler_base::open): Ditto. Simplify setting create_options. * mount.cc (fs_info::update): Recognize offline storage. (fillout_mntent): Report UDF and offline storage. * mount.h (class fs_info): Add is_csc_cache status flag. --- winsup/cygwin/mount.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/cygwin/mount.h') diff --git a/winsup/cygwin/mount.h b/winsup/cygwin/mount.h index 4537f465a..e03fd2e20 100644 --- a/winsup/cygwin/mount.h +++ b/winsup/cygwin/mount.h @@ -32,6 +32,7 @@ class fs_info unsigned is_netapp : 1; unsigned is_cdrom : 1; unsigned is_udf : 1; + unsigned is_csc_cache : 1; } status; ULONG sernum; public: @@ -54,6 +55,7 @@ class fs_info IMPLEMENT_STATUS_FLAG (bool, is_netapp) IMPLEMENT_STATUS_FLAG (bool, is_cdrom) IMPLEMENT_STATUS_FLAG (bool, is_udf) + IMPLEMENT_STATUS_FLAG (bool, is_csc_cache) ULONG serial_number () const { return sernum; } bool update (PUNICODE_STRING, HANDLE) __attribute__ ((regparm (3))); -- cgit v1.2.3