* dcrt0.cc (dll_crt0_0): Call set_cygwin_privileges here, after

initializing hProcToken.
	* sec_helper.cc (init_global_security): Don't call set_cygwin_privileges        here.
This commit is contained in:
Corinna Vinschen
2007-07-19 07:24:17 +00:00
parent 391b530a05
commit 5fbf573cd3
3 changed files with 8 additions and 2 deletions

View File

@@ -530,8 +530,6 @@ init_global_security ()
sec_none.lpSecurityDescriptor = sec_none_nih.lpSecurityDescriptor = NULL;
sec_all.lpSecurityDescriptor = sec_all_nih.lpSecurityDescriptor =
get_null_sd ();
set_cygwin_privileges (hProcToken);
}
bool