Subject: Re: CVS commit: syssrc/sys/compat/linux/common (Was: Re: linux emul & net config)
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Frank van der Linden <fvdl@wasabisystems.com>
List: tech-kern
Date: 11/29/2002 15:37:55
On Fri, Nov 29, 2002 at 12:04:47PM +0100, Jaromir Dolecek wrote:
> I think the committed change isn't correct (did not really test yet, just
> looking at the sources). Return value of sys_socket() function is
> errno, not the descriptor. The descriptor is in *retval. Also, I
> think it's not necessary to close the descriptor and return EINVAL
> if the V6ONLY setsockopt call fails. AFAICS, the code with the change
> currently always fails, and closes stdin.
I've checked in Jaromir's version, after verifying that it works
with netscape7.
- Frank