Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-07-15 00:22:03 +0400
committerCorinna Vinschen <corinna@vinschen.de>2008-07-15 00:22:03 +0400
commite2406d71aa6a1b632e67f7cd1e53c7d38533cec6 (patch)
treece6d14a7419c4ac381b3e734c91be6018474c9bd /winsup/cygwin/external.cc
parentbf216dcad6ff26bc9c160402da639fdc89614fb4 (diff)
Throughout drop allow_ntsec and allow_smbntsec handling.
* environ.cc (set_ntsec): Remove. (set_smbntsec): Remove. (known): Remove ntsec and smbntsec options. * external.cc (check_ntsec): Return true if no filename is given. * mount.cc (oopts): Add "acl" and "noacl" options. Set MOUNT_NOACL flag accordingly. (fillout_mntent): Handle MOUNT_NOACL flag. * path.h (enum path_types): Add PATH_NOACL. * security.cc (allow_ntsec): Remove. (allow_smbntsec): Remove. * security.h (allow_ntsec): Drop declaration. (allow_smbntsec): Drop declaration. * include/sys/mount.h (MOUNT_NOACL): Define.
Diffstat (limited to 'winsup/cygwin/external.cc')
-rw-r--r--winsup/cygwin/external.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc
index 4b80cb786..429a2875a 100644
--- a/winsup/cygwin/external.cc
+++ b/winsup/cygwin/external.cc
@@ -123,9 +123,9 @@ static DWORD
check_ntsec (const char *filename)
{
if (!filename)
- return allow_ntsec;
+ return true;
path_conv pc (filename);
- return allow_ntsec && pc.has_acls ();
+ return pc.has_acls ();
}
/* Copy cygwin environment variables to the Windows environment. */