Address space clobbers during fork() (was Re: Extending /proc/*/maps)

Corinna Vinschen
Thu Apr 21 09:01:00 GMT 2011

On Apr 21 10:53, Corinna Vinschen wrote:
> On Apr 19 14:16, Ryan Johnson wrote:
> > Regardless of file mapping behavior, though, I don't see right off
> > how to make this problem go away.
> Just an idea:  What if we map locale.nls to some fixed address ourselves
> before any NLS function is called?  Somewhere early in dll_crt0_1.
> If the file is already mapped, there should be no reason for the OS to
> map it again at some other address.

Actually, initial_setlocale might be just the place.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

More information about the Cygwin-developers mailing list