This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]