[ros-kernel] A small ldr patch for cygwin

Jason Filby jasonfilby at yahoo.com
Mon Oct 27 09:46:23 CET 2003


Why did you have to force the win95 personality?

art yerkes wrote:

>Using this patch, and forcing cygwin1.dll to use it's win95
personality, I can
>load sh, get a prompt, and execute shell builtin commands.  Fork
needs work
>in ntoskrnl, which I talked about with David Welch a while back. 
That stuff
>will be a bit of work, but I think that several other programs use
the same
>feature cygwin does.
>
>The change made here sets the lpvReserved argument to DllMain
according to 
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/dllmain.asp
>and allows cygwin to figure out whether it was dynamically loaded by
>LoadLibrary or by the system when starting a process.
>
>Also, should I send the cygwin people a patch for forcing cygwin
personality
>using an env var?
>
>If I don't hear anything negative, I'll commit in a couple of days.
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Ros-kernel mailing list
>Ros-kernel at reactos.com
>http://reactos.geldorp.nl:8080/mailman/listinfo/ros-kernel
>



__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/


More information about the Ros-kernel mailing list