]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.19] runtime: revert "call __fork instead of fork on darwin"
authorRuss Cox <rsc@golang.org>
Sun, 8 Jan 2023 22:30:01 +0000 (17:30 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 9 Jan 2023 17:35:28 +0000 (17:35 +0000)
commit7d06dd6125857b8868e5cd90d168f8c0e169dcea
treebd45e86694cff5fe8038661eebf71c24dff56755
parentc8104a1b90d3b09ed6ec080e8ecba98c8805c137
[release-branch.go1.19] runtime: revert "call __fork instead of fork on darwin"

A recent comment on #57263 reports an unexplained crash in a cgo program
that is fixed by reverting the __fork fix. We don't have any viable fix for the
os/exec bug at this point, so give up on a fix for the January point releases.

This reverts CL 459178 (commit 91bc4cd118dd).

Fixes #57690.

Change-Id: Ieb38d9bc7f967e9a726429eab2ea515d5ca0847f
Reviewed-on: https://go-review.googlesource.com/c/go/+/461115
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/syscall/exec_libc2.go
src/syscall/syscall_darwin.go
src/syscall/syscall_openbsd_libc.go
src/syscall/zsyscall_darwin_amd64.go
src/syscall/zsyscall_darwin_amd64.s
src/syscall/zsyscall_darwin_arm64.go
src/syscall/zsyscall_darwin_arm64.s