Skip to content
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: support FreeBSD 10 #7193

Closed
mikioh opened this issue Jan 23, 2014 · 8 comments
Closed

syscall: support FreeBSD 10 #7193

mikioh opened this issue Jan 23, 2014 · 8 comments
Milestone

Comments

@mikioh
Copy link
Contributor

@mikioh mikioh commented Jan 23, 2014

A few network interface APIs don't work on 32-bit FreeBSD 10, freebsd/386 and arm.

Looks like they changed if_data (see /usr/include/net/if.h) that is required to fetch
network interface facility information from the kernel. Seems they have a long term plan
to introduce TLV-style data representation over routing socket like netlink stuff, but
not in FreeBSD 10 (and probably 11).

We need to re-define if_data and also keep previous if_data internally, and then handle
both appropriately by using if_msghdrl (the 'l' version) instead of conventional
if_msghdr.
@mikioh
Copy link
Contributor Author

@mikioh mikioh commented Feb 14, 2014

Comment 3:

Issue #7332 has been merged into this issue.

@mikioh
Copy link
Contributor Author

@mikioh mikioh commented Feb 28, 2014

@mikioh
Copy link
Contributor Author

@mikioh mikioh commented Mar 4, 2014

Comment 6:

This issue was updated by revision 737efeb.

FreeBSD 10 breaking changes:
r205792: Rename st_*timespec fields to st_*tim for POSIX 2008
compliance.
http://svnweb.freebsd.org/base?view=revision&revision=205792
r254804: Restructure the mbuf pkthdr to make it fit for upcoming
capabilities and features.
http://svnweb.freebsd.org/base?view=revision&revision=254804
r255219: Change the cap_rights_t type from uint64_t to a structure
that we can extend in the future in a backward compatible (API and
ABI) way.
http://svnweb.freebsd.org/base?view=revision&revision=255219
LGTM=iant
R=golang-codereviews, rsc, minux.ma, gobot, iant
CC=golang-codereviews
https://golang.org/cl/56770044
@mikioh
Copy link
Contributor Author

@mikioh mikioh commented Mar 4, 2014

Comment 7:

This issue was updated by revision d30d429.

LGTM=minux.ma
R=golang-codereviews, rsc, minux.ma, iant
CC=golang-codereviews
https://golang.org/cl/57210043
@mikioh
Copy link
Contributor Author

@mikioh mikioh commented Mar 4, 2014

Comment 8:

This issue was closed by revision 25668b9.

Status changed to Fixed.

@mikioh
Copy link
Contributor Author

@mikioh mikioh commented Mar 4, 2014

Comment 9:

This issue was updated by revision be8aa4b.

LGTM=bradfitz
R=golang-codereviews, dave, rsc, minux.ma, bradfitz
CC=golang-codereviews
https://golang.org/cl/64510043
@mikioh mikioh added fixed labels Mar 4, 2014
@rsc rsc added this to the Go1.3 milestone Apr 14, 2015
@rsc rsc removed the release-go1.3maybe label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.