diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2000-12-19 22:52:57 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2000-12-19 22:52:57 +0300 |
commit | 5827f4d98ae9e6f32ed2e20ef647ea0b489ee330 (patch) | |
tree | a344c9360ed8f1dc9d4ecfd97c8b35dc4ab6a44d /winsup/cygwin/security.cc | |
parent | 4f9558507059ed3b99bcd13819ee228fab751514 (diff) |
* 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/security.cc')
-rw-r--r-- | winsup/cygwin/security.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/security.cc b/winsup/cygwin/security.cc index 04915781d..67caf689e 100644 --- a/winsup/cygwin/security.cc +++ b/winsup/cygwin/security.cc @@ -36,6 +36,10 @@ details. */ extern BOOL allow_ntea; BOOL allow_ntsec = FALSE; +/* allow_smbntsec is handled exclusively in path.cc (path_conv::check). + It's defined here because of it's strong relationship to allow_ntsec. + The default is TRUE to reflect the old behaviour. */ +BOOL allow_smbntsec = TRUE; SID_IDENTIFIER_AUTHORITY sid_auth[] = { {SECURITY_NULL_SID_AUTHORITY}, |