stackgap removal in linux_socket.c
David P. Reese, Jr.
daver at gomerbud.com
Sun Sep 28 02:26:36 PDT 2003
On Sun, Sep 28, 2003 at 02:02:13AM -0700, Matthew Dillon wrote:
> :Crud... I just figured out my answer to my question. You can't copyin from
> :kernel space. Thank god I can remove the stackgap code with the new split
> :syscalls.
>
> Heh. I guess I wasn't clear enough in prior discussions. One of big
> benefits of splitting the syscalls is that, yes, the emulation code can
> call the kernel version after doing its own copyins and conversions, and
> all the stackgap garbage can be scrapped.
>
> Makes it a bit more fun, eh?
>
> -Matt
I had been ignoring the stackgap junk until now. After understanding how it
works and how it has been (mis)used, I'm very glad that we are getting rid
of it.
--
David P. Reese, Jr. daver at xxxxxxxxxxxx
http://www.gomerbud.com/daver/
More information about the Kernel
mailing list