DragonFly BSD
DragonFly kernel List (threaded) for 2003-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: stackgap removal in linux_socket.c

From: "David P. Reese, Jr." <daver@xxxxxxxxxxxx>
Date: Sun, 28 Sep 2003 02:26:12 -0700

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@xxxxxxxxxxxx

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]