aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/fhandler.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-09-24 16:22:53 +0000
committerCorinna Vinschen <corinna@vinschen.de>2010-09-24 16:22:53 +0000
commit7438a10a019106738bbec980454a2da738d430ef (patch)
treeba5dafa914f47e5738037945d3f7699845070daf /winsup/cygwin/fhandler.h
parent3498f76deb52fcff5c4f8d20050ec844608d108d (diff)
downloadnewlib-7438a10a019106738bbec980454a2da738d430ef.zip
newlib-7438a10a019106738bbec980454a2da738d430ef.tar.gz
newlib-7438a10a019106738bbec980454a2da738d430ef.tar.bz2
* fhandler.cc (fhandler_base::open): Handle query_write_dac flag.
* fhandler.h (enum query_state): Add query_write_dac flag. * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Open file with query_write_dac instead of query_write_control.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 8e232f0..5110d6d 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -92,7 +92,8 @@ enum query_state {
query_read_control = 1,
query_read_attributes = 2,
query_write_control = 3,
- query_write_attributes = 4
+ query_write_dac = 4,
+ query_write_attributes = 5
};
enum del_lock_called_from {