diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-12-12 19:18:56 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-12-12 19:18:56 +0000 |
commit | 26684e48d285493512999f4358ba555256df9204 (patch) | |
tree | eaf2908eb02972d578611cba37ec175bda7eb6fe /winsup/cygwin/environ.cc | |
parent | 31fdd91f9b84a60c9dc021072768df94b36f8ace (diff) | |
download | newlib-26684e48d285493512999f4358ba555256df9204.zip newlib-26684e48d285493512999f4358ba555256df9204.tar.gz newlib-26684e48d285493512999f4358ba555256df9204.tar.bz2 |
* environ.cc (subauth_id_init): Remove.
(parse_thing): Drop "subauth_id" option.
* security.cc (get_token_group_sidlist): Drop comments concerning
subauthentication.
(create_token): Back out subauthentication related changes.
(subauth): Remove.
* security.h (create_token): Remove declaration.
(subauth): Ditto.
* syscalls.cc (seteuid32): Drop subauthentication handling entirely.
Diffstat (limited to 'winsup/cygwin/environ.cc')
-rw-r--r-- | winsup/cygwin/environ.cc | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc index 864127a..d5e0ae0 100644 --- a/winsup/cygwin/environ.cc +++ b/winsup/cygwin/environ.cc @@ -34,9 +34,6 @@ extern bool ignore_case_with_glob; extern bool allow_winsymlinks; extern bool strip_title_path; extern int pcheck_case; -#if 0 -extern int subauth_id; -#endif bool reset_com = false; static bool envcache = true; #ifdef USE_SERVER @@ -532,21 +529,6 @@ codepage_init (const char *buf) debug_printf ("Wrong codepage name: %s", buf); } -#if 0 -static void -subauth_id_init (const char *buf) -{ - if (!buf || !*buf) - return; - - int i = strtol (buf, NULL, 0); - - /* 0..127 are reserved by Microsoft, 132 is IIS subauthentication. */ - if (i > 127 && i != 132 && i <= 255) - subauth_id = i; -} -#endif - static void set_chunksize (const char *buf) { @@ -618,9 +600,6 @@ static struct parse_thing #endif {"smbntsec", {func: set_smbntsec}, isfunc, NULL, {{0}, {s: "yes"}}}, {"strip_title", {&strip_title_path}, justset, NULL, {{false}, {true}}}, -#if 0 - {"subauth_id", {func: &subauth_id_init}, isfunc, NULL, {{0}, {0}}}, -#endif {"title", {&display_title}, justset, NULL, {{false}, {true}}}, {"tty", {NULL}, set_process_state, NULL, {{0}, {PID_USETTY}}}, {"winsymlinks", {&allow_winsymlinks}, justset, NULL, {{false}, {true}}}, |