syscall: import additional BSD-specific syscall wrappers
authorNikhil Benesch <nikhil.benesch@gmail.com>
Mon, 26 Oct 2020 17:48:32 +0000 (17:48 +0000)
committerIan Lance Taylor <iant@golang.org>
Mon, 26 Oct 2020 22:04:16 +0000 (15:04 -0700)
commita573530d500d7c22e27c0727b1f7abcbc0b73e1d
tree1c866623421dc43728e68c0269304bc96bca05e4
parent48722d158cbf692c24025e345ecbbbb570f66aa5
syscall: import additional BSD-specific syscall wrappers

Import additional code from upstream for handing system
calls on BSD systems. This makes the syscall package on
NetBSD complete enough to compile the standard library.

Updates golang/go#38538.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/265123
gcc/go/gofrontend/MERGE
libgo/go/syscall/libcall_bsd.go [new file with mode: 0644]
libgo/go/syscall/syscall_netbsd.go