* 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:
		@@ -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 ())
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user