]> Cypherpunks repositories - gostls13.git/commit
net: separate the Solaris fast/slow path of setting SOCK_* from others
authorAndy Pan <i@andypan.me>
Thu, 4 Apr 2024 08:30:30 +0000 (16:30 +0800)
committerGopher Robot <gobot@golang.org>
Sun, 14 Apr 2024 18:17:25 +0000 (18:17 +0000)
commit37f482223f331c4400797f72158fcf1eaa1793c4
tree3a182c523095b09f38e281076acde5a7810d51b7
parent16df5330e410cfc702d942eb0cf3707ccdfd2c1d
net: separate the Solaris fast/slow path of setting SOCK_* from others

Along with the removal of the slow path from Linux and *BSD.

For #59359

Change-Id: I6c79594252e5e5f1c1c57c11e09458fcae3793d2
Reviewed-on: https://go-review.googlesource.com/c/go/+/577175
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Andy Pan <panjf2000@gmail.com>
src/internal/poll/sock_cloexec.go
src/internal/poll/sock_cloexec_solaris.go [new file with mode: 0644]
src/internal/syscall/unix/asm_solaris.s
src/internal/syscall/unix/at_solaris.go
src/internal/syscall/unix/kernel_version_other.go
src/internal/syscall/unix/kernel_version_solaris.go [new file with mode: 0644]
src/internal/syscall/unix/kernel_version_solaris_test.go [new file with mode: 0644]
src/net/sock_cloexec.go
src/net/sock_cloexec_solaris.go [new file with mode: 0644]