Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Sep 2022 04:20:04 +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-6CkfwoPKhb@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

Gleb Smirnoff <glebius@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|net@FreeBSD.org             |glebius@FreeBSD.org
                 CC|                            |glebius@FreeBSD.org
             Status|New                         |Open

--- Comment #7 from Gleb Smirnoff <glebius@FreeBSD.org> ---
I like your patch. Note that EFTYPE and EEXIST are not listed in specificat=
ion
for bind(2), thus this allows us consider suggested functionality to be an
extension over specification.

https://pubs.opengroup.org/onlinepubs/9699919799/functions/bind.html

May I ask you to do two things:

1) Check how these edge cases work on other popular POSIX OSes, at least Li=
nux
and Mac OS X. If they also do something smart here, we probably should stay
compatible with them.

2) If step 1) doesn't uncover need for any additions, please document in
bind(2) cross referencing to unix(4).

--=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-6CkfwoPKhb>