syscall: import upstream code for BSD sockets and sysctls
authorNikhil Benesch <nikhil.benesch@gmail.com>
Sat, 10 Oct 2020 00:06:36 +0000 (00:06 +0000)
committerIan Lance Taylor <iant@golang.org>
Wed, 21 Oct 2020 23:57:59 +0000 (16:57 -0700)
commit2ab1fc7a322e2582772f0e4ed916508c890175e3
treea3c3c4cef165b2ec33f3bd8b5df5d4849fd3316a
parent3fd5876793ddf882994acafc9c5b28e3be8897bd
syscall: import upstream code for BSD sockets and sysctls

Import some missing upstream code for BSD sockets and sysctls and
adapt it for gccgo.

Updates golang/go#38538.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/261137
gcc/go/gofrontend/MERGE
libgo/go/syscall/route_bsd.go
libgo/go/syscall/socket_bsd.go
libgo/go/syscall/syscall_netbsd.go