Subject: Re: No IPv6 in the kernel vs socket(2) errno vs postfix
To: None <tech-net@netbsd.org>
From: Rui Paulo <rpaulo@fnop.net>
List: tech-net
Date: 06/09/2006 20:21:51
At Fri, 9 Jun 2006 15:53:17 +0000,
Brian Ginsbach wrote:
> 
> On Fri, Jun 09, 2006 at 06:33:26PM +0400, Valeriy E. Ushakov wrote:
> > On Fri, Jun 09, 2006 at 18:09:46 +0400, Valeriy E. Ushakov wrote:
> > 
> > > Anyway, my reading of the
> > > http://www.opengroup.org/onlinepubs/007908799/xns/socket.html is that
> > > unsupported arguments should be reported as:
> > > 
> > > domain   - EAFNOSUPPORT (EPFNOSUPPORT)
> > > type     - EPROTOTYPE
> > > protocol - EPROTONOSUPPORT
> > 
> > Filed as kern/33676
> > 
> 
> I think the following should work (at least this is how I fixed it
> in another BSD based stack for POSIX conformance).

This looks ok to me.
Please commit it if there are no objections.