* dcrt0.cc (dll_crt0_0): Initialize security data first so that it can be used
by subsequent handle creation.
This commit is contained in:
parent
72319550c1
commit
2b91e0dac4
@ -1,3 +1,8 @@
|
|||||||
|
2005-11-06 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* dcrt0.cc (dll_crt0_0): Initialize security data first so that it can
|
||||||
|
be used by subsequent handle creation.
|
||||||
|
|
||||||
2005-11-04 Christopher Faylor <cgf@timesys.com>
|
2005-11-04 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* cygheap.h (init_cygheap::_gtod): New hires_ms element.
|
* cygheap.h (init_cygheap::_gtod): New hires_ms element.
|
||||||
|
@ -636,6 +636,7 @@ get_cygwin_startup_info ()
|
|||||||
void __stdcall
|
void __stdcall
|
||||||
dll_crt0_0 ()
|
dll_crt0_0 ()
|
||||||
{
|
{
|
||||||
|
init_global_security ();
|
||||||
lock_process::init ();
|
lock_process::init ();
|
||||||
init_console_handler (TRUE);
|
init_console_handler (TRUE);
|
||||||
_impure_ptr = _GLOBAL_REENT;
|
_impure_ptr = _GLOBAL_REENT;
|
||||||
@ -646,7 +647,6 @@ dll_crt0_0 ()
|
|||||||
wincap.init ();
|
wincap.init ();
|
||||||
initial_env ();
|
initial_env ();
|
||||||
|
|
||||||
init_global_security ();
|
|
||||||
if (!DuplicateHandle (GetCurrentProcess (), GetCurrentProcess (),
|
if (!DuplicateHandle (GetCurrentProcess (), GetCurrentProcess (),
|
||||||
GetCurrentProcess (), &hMainProc, 0, FALSE,
|
GetCurrentProcess (), &hMainProc, 0, FALSE,
|
||||||
DUPLICATE_SAME_ACCESS))
|
DUPLICATE_SAME_ACCESS))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user