diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-07-14 20:22:03 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-07-14 20:22:03 +0000 |
commit | e2406d71aa6a1b632e67f7cd1e53c7d38533cec6 (patch) | |
tree | ce6d14a7419c4ac381b3e734c91be6018474c9bd /winsup/cygwin/environ.cc | |
parent | bf216dcad6ff26bc9c160402da639fdc89614fb4 (diff) | |
download | cygnal-e2406d71aa6a1b632e67f7cd1e53c7d38533cec6.tar.gz cygnal-e2406d71aa6a1b632e67f7cd1e53c7d38533cec6.tar.bz2 cygnal-e2406d71aa6a1b632e67f7cd1e53c7d38533cec6.zip |
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/environ.cc')
-rw-r--r-- | winsup/cygwin/environ.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc index ae202cf90..2a4a73614 100644 --- a/winsup/cygwin/environ.cc +++ b/winsup/cygwin/environ.cc @@ -571,18 +571,6 @@ set_proc_retry (const char *buf) child_info::retry_count = strtoul (buf, NULL, 0); } -static void -set_ntsec (const char *buf) -{ - allow_ntsec = (buf && ascii_strcasematch (buf, "yes")); -} - -static void -set_smbntsec (const char *buf) -{ - allow_smbntsec = (buf && ascii_strcasematch (buf, "yes")); -} - /* The structure below is used to set up an array which is used to parse the CYGWIN environment variable or, if enabled, options from the registry. */ @@ -615,13 +603,11 @@ static struct parse_thing {"export", {&export_settings}, justset, NULL, {{false}, {true}}}, {"forkchunk", {func: set_chunksize}, isfunc, NULL, {{0}, {0}}}, {"glob", {func: &glob_init}, isfunc, NULL, {{0}, {s: "normal"}}}, - {"ntsec", {func: set_ntsec}, isfunc, NULL, {{0}, {s: "yes"}}}, {"proc_retry", {func: set_proc_retry}, isfunc, NULL, {{0}, {5}}}, {"reset_com", {&reset_com}, justset, NULL, {{false}, {true}}}, #ifdef USE_SERVER {"server", {&allow_server}, justset, NULL, {{false}, {true}}}, #endif - {"smbntsec", {func: set_smbntsec}, isfunc, NULL, {{0}, {s: "yes"}}}, {"strip_title", {&strip_title_path}, justset, NULL, {{false}, {true}}}, {"title", {&display_title}, justset, NULL, {{false}, {true}}}, {"tty", {NULL}, set_process_state, NULL, {{0}, {PID_USETTY}}}, |