mirror of
https://github.com/golang/net.git
synced 2026-04-01 02:47:08 +09:00
Instead of relying on syscall.Syscall, always reach into the syscall package to call the appropriate functions on Unix systems. We were already doing this on Darwin. We also have to do this on OpenBSD. Rather than sometimes reach into syscall and sometimes not, just always reach in. For golang/go#42064 Change-Id: Ie292a56766080d0c5ae6b6723d42b5475128290c Reviewed-on: https://go-review.googlesource.com/c/net/+/366354 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>