From e2406d71aa6a1b632e67f7cd1e53c7d38533cec6 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 14 Jul 2008 20:22:03 +0000 Subject: 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. --- winsup/cygwin/include/sys/mount.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/include') diff --git a/winsup/cygwin/include/sys/mount.h b/winsup/cygwin/include/sys/mount.h index d9d138a2a..ebcf8db88 100644 --- a/winsup/cygwin/include/sys/mount.h +++ b/winsup/cygwin/include/sys/mount.h @@ -30,7 +30,8 @@ enum MOUNT_DEVFS = 0x0200, /* /device "filesystem" */ MOUNT_PROC = 0x0400, /* /proc "filesystem" */ MOUNT_ENC = 0x0800, /* encode special characters */ - MOUNT_RO = 0x1000 /* read-only "filesystem" */ + MOUNT_RO = 0x1000, /* read-only "filesystem" */ + MOUNT_NOACL = 0x2000 /* support reading/writing ACLs */ }; int mount (const char *, const char *, unsigned __flags); -- cgit v1.2.3