Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2001 14:44:52 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Thomas Moestl <tmoestl@gmx.net>
Cc:        freebsd-net@FreeBSD.ORG, Robert Watson <rwatson@FreeBSD.ORG>
Subject:   Making getsockname return sensible data for unbound AF_UNIX sockets
Message-ID:  <200104241844.OAA98132@khavrinen.lcs.mit.edu>
In-Reply-To: <20010422200939.A4797@crow.dom2ip.de>
References:  <20010422200939.A4797@crow.dom2ip.de>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sun, 22 Apr 2001 20:09:39 +0200, Thomas Moestl <tmoestl@gmx.net> said:

> I would like to commit a really small patch that makes getsockname
> fill the sockaddr for non-bound PF_LOCAL sockets with sun_noname,
> instead of just setting the length parameter to 0 and return (without
> an error) like it does now.

I'm OK with this.  I'm not sure why I didn't do so originally.

-GAWollman


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104241844.OAA98132>