lkml.org 
[lkml]   [2005]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RFC: i386: kill !4KSTACKS
Guillaume Chazarain wrote:
> Just a thought : why couldn't ndiswrapper set apart some piece
> of memory and use it as the stack by changing the esp register
> before executing windows code.
>
> Like http://article.gmane.org/gmane.linux.drivers.ndiswrapper.general/4737
>
> It's dirty, I know, but after all they are executing win32 code ...
>
> Why wouldn't this work ?

I think this would be a good idea. I don't see any reason in principle
why the ndiswrapper code couldn't use a separate stack for the Win32
driver code. Sharing the stack between the Linux kernel and whatever
junk is going on inside the Windows driver seems rather inherently fragile..

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-04 19:37    [W:0.044 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site