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

Re: syscall copy{in,out} separation


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 24 Aug 2003 14:42:22 -0700 (PDT)

:Strangely enough, I couldn't get the old patch to crash the system using
:tcp6.  Oh well...
:
:Here's a new patch that uses dynamic allocation and cleans up the end
:of accept1().  I tested it with a tcp daytime client based on an example
:from W. Richard Steven's UNIX Network Programming book just to make sure
:that nothing was blatantly wrong.
:
:http://gomerbud.com/daver/patches/dragonfly/syscall-separation-1a.diff
:
:-- 
:   David P. Reese, Jr.                                     daver@xxxxxxxxxxxx

    It looks very good!  I went over it and made a few minor additions,
    primarily pre-NULLing out the sockaddr pointer.  I've just committed
    it now.

    The next step is to see if these changes allow you to rip out the
    COMPAT_43 junk (and the stackgap junk, if applicable), in the linux
    emulation code that calls these three routines

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



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