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>2007-07-19 11:24:17 +0400
committerCorinna Vinschen <corinna@vinschen.de>2007-07-19 11:24:17 +0400
commit5fbf573cd341316c716de930793088b0aa9be177 (patch)
tree47927df586ec18cf7c9962059ea3f633958f2d27 /winsup/cygwin/sec_helper.cc
parent391b530a0507deda633337e724b5778c3b7a18df (diff)
* 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.
Diffstat (limited to 'winsup/cygwin/sec_helper.cc')
-rw-r--r--winsup/cygwin/sec_helper.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/sec_helper.cc b/winsup/cygwin/sec_helper.cc
index 22809a34f..416488a33 100644
--- a/winsup/cygwin/sec_helper.cc
+++ b/winsup/cygwin/sec_helper.cc
@@ -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