Subject: Re: Linux socket emulation change (was: CVS commit: src/sys/compat/linux/common)
To: None <tech-net@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-net
Date: 09/14/2004 06:41:46
In article <20040914051853.66CBC4921DF@s102-n054.tele2.cz>,
	jdolecek@NetBSD.org (Jaromir Dolecek) writes:
> Try this - it doesn't work even for native NetBSD binaries. If address
> family is set to zero and socket length is provided in the passed
> sockaddr, it hits the sockargs() COMPAT_43 compatibility condition
> and the values are swapped, which results in EAFNOSUPPORT error further
> down.

That's a bug then. And there is no reason to make it worse in the
Linux emulation.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/