* 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.
This commit is contained in:
@ -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},
|
||||
|
Reference in New Issue
Block a user