summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2000-12-19 19:52:57 +0000
committerCorinna Vinschen <corinna@vinschen.de>2000-12-19 19:52:57 +0000
commit5827f4d98ae9e6f32ed2e20ef647ea0b489ee330 (patch)
treea344c9360ed8f1dc9d4ecfd97c8b35dc4ab6a44d /winsup/cygwin/fhandler.cc
parent4f9558507059ed3b99bcd13819ee228fab751514 (diff)
downloadcygnal-5827f4d98ae9e6f32ed2e20ef647ea0b489ee330.tar.gz
cygnal-5827f4d98ae9e6f32ed2e20ef647ea0b489ee330.tar.bz2
cygnal-5827f4d98ae9e6f32ed2e20ef647ea0b489ee330.zip
* environ.cc (struct parse_thing): Add entry for new CYGWIN option
`smbntsec'. * path.cc (path_conv::check): Check path for being a remote path. If so and `allow_smbntsec' is set to FALSE, set has_acls to FALSE. * security.cc: Add global definition for `allow_smbntsec'. * security.h: Add extern declaration for `allow_smbntsec'. * fhandler.cc (fhandler_disk_file::open): Eliminate extern declaration of `allow_ntsec'. * syscalls.cc: Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r--winsup/cygwin/fhandler.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index d2480df17..f6779614a 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -1254,7 +1254,6 @@ fhandler_disk_file::open (path_conv& real_path, int flags, mode_t mode)
}
extern BOOL allow_ntea;
- extern BOOL allow_ntsec;
if (!real_path.isexec () && !allow_ntea
&& (!allow_ntsec || !real_path.has_acls ())