[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-net
Subject:    Re: Linux socket emulation change (was: CVS commit: src/sys/compat/linux/common)
From:       tron () zhadum ! de (Matthias Scheler)
Date:       2004-09-14 6:41:46
Message-ID: ci63ra$44r$1 () colwyn ! zhadum ! de
[Download RAW message or body]

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/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic