Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Mar 2022 21:28:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 262172] UNIX Domain bind() - distinguish between random garbage and alive listening socket
Message-ID:  <bug-262172-7501-1LhSSUtWIU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262172-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262172-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262172

Mike Karels <karels@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |karels@freebsd.org

--- Comment #4 from Mike Karels <karels@freebsd.org> ---
In concept I like the idea of distinct error values; I would even go one
farther, and use EFTYPE for non-socket files.  However, I wonder whether it=
 is
too late for this change, as applications can't count on it, especially if =
it
is optional (and off by default).

On the implementation, I wouldn't use VOP_UNP_CONNECT().  It doesn't have s=
ide
effects now, but that could change.  Just testing v_unpcb would be OK.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262172-7501-1LhSSUtWIU>