]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.18] runtime: revert "call __fork instead of fork on darwin"
authorRuss Cox <rsc@golang.org>
Sun, 8 Jan 2023 22:33:12 +0000 (17:33 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 9 Jan 2023 17:35:17 +0000 (17:35 +0000)
commit87105e5b2e3462cb5d62d9a8e08b9e45f65ed671
tree5d7f680d70221d3723aca86d1f558b0623d30010
parent476384ec7b6e4770ab25a754f656da9d8115cb66
[release-branch.go1.18] 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 459179 (commit 07b6ffb79c90).

Fixes #57689.

Change-Id: I3b81de6bded399f47862325129e86a65c83d8e3b
Reviewed-on: https://go-review.googlesource.com/c/go/+/461116
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
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