summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-05-04 09:16:42 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-05-04 09:16:42 +0000
commit9d86c13dbb5647d22f16a4baec38b2a27e75fddf (patch)
tree5703cf4d3012168172503711a984b63338fc7c27 /winsup/cygwin/exceptions.cc
parent56a4d31a7f239e32a8be234dff8bb05425a6d9af (diff)
downloadcygnal-9d86c13dbb5647d22f16a4baec38b2a27e75fddf.tar.gz
cygnal-9d86c13dbb5647d22f16a4baec38b2a27e75fddf.tar.bz2
cygnal-9d86c13dbb5647d22f16a4baec38b2a27e75fddf.zip
* 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.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 6a468cf80..eeed74930 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -160,8 +160,7 @@ open_stackdumpfile ()
status = NtCreateFile (&h, GENERIC_WRITE | SYNCHRONIZE, &attr, &io,
NULL, FILE_ATTRIBUTE_NORMAL, 0, FILE_OVERWRITE_IF,
FILE_SYNCHRONOUS_IO_NONALERT
- | FILE_OPEN_FOR_BACKUP_INTENT
- | FILE_OPEN_FOR_RECOVERY, NULL, 0);
+ | FILE_OPEN_FOR_BACKUP_INTENT, NULL, 0);
if (NT_SUCCESS (status))
{
if (!myself->cygstarted)