1
0
mirror of https://github.com/golang/go synced 2024-11-26 08:17:59 -07:00
go/src/net/internal/socktest
Tobias Klauser 3e00bd0ae4 internal/poll, net, syscall: use accept4 on solaris
Solaris supports accept4 since version 11.4, see
https://docs.oracle.com/cd/E88353_01/html/E37843/accept4-3c.html
Use it in internal/poll.accept like on other platforms.

Change-Id: I3d9830a85e93bbbed60486247c2f91abc646371f
Reviewed-on: https://go-review.googlesource.com/c/go/+/403394
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
2022-05-03 14:38:32 +00:00
..
main_test.go
main_unix_test.go
main_windows_test.go
switch_posix.go
switch_stub.go
switch_unix.go all: use new "unix" build tag where appropriate 2022-03-29 16:24:51 +00:00
switch_windows.go
switch.go
sys_cloexec.go internal/poll, net, syscall: use accept4 on solaris 2022-05-03 14:38:32 +00:00
sys_unix.go all: use new "unix" build tag where appropriate 2022-03-29 16:24:51 +00:00
sys_windows.go