New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
syscall: fd passing fails on OpenBSD #3349
Labels
Milestone
Comments
After looking into this issue, I found out that it is apparently due to the getsockname implementation on OpenBSD. While the manpage states that obtaining the address is not supported for Unix sockets, the address family doesn't seem to be set either if the socket is not bound (see the attached example). This means that net.FileConn doesn't recognize it as a Unix socket. Attachments:
|
@guelfey: That bug was fixed last October (http://www.openbsd.org/cgi-bin/cvsweb/src/sys/kern/uipc_usrreq.c#rev1.69), and will be included in the upcoming 5.3 release. If I run your test program on a recent snapshot release, the output is "got 1 expected 1". |
This issue was closed by revision f853e9a. Status changed to Fixed. |
bradfitz
added
fixed
Suggested
Issues that may be good for new contributors looking for work to do.
labels
Feb 27, 2013
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
The text was updated successfully, but these errors were encountered: