* shared.cc (shared_info::create): Open global shared data section
non-inheritable to avoid accumulating stray handles in child processes.
This commit is contained in:
parent
7b2740dda3
commit
4cc465db9a
|
@ -1,3 +1,8 @@
|
|||
2011-11-17 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* shared.cc (shared_info::create): Open global shared data section
|
||||
non-inheritable to avoid accumulating stray handles in child processes.
|
||||
|
||||
2011-11-15 Christopher Faylor <me.cygwin2011@cgf.cx>
|
||||
|
||||
* child_info.h (CURR_CHILD_INFO_MAGIC): Reset.
|
||||
|
|
|
@ -398,7 +398,8 @@ shared_info::create ()
|
|||
CYGWIN_VERSION_SHARED_DATA,
|
||||
cygwin_shared_h,
|
||||
sizeof (*cygwin_shared),
|
||||
SH_CYGWIN_SHARED);
|
||||
SH_CYGWIN_SHARED,
|
||||
&sec_all_nih);
|
||||
cygwin_shared->initialize ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue