Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syscall: the wrong sysctl was gimped on iOS [1.13 backport] #35105

gopherbot opened this issue Oct 23, 2019 · 4 comments


Copy link

@gopherbot gopherbot commented Oct 23, 2019

@zx2c4 requested issue #35101 to be considered for backport to the next 1.13 minor release.

@gopherbot Please backport this to 1.13, because it fixes a grave regression in the net package introduced in 1.13.3.


This comment has been minimized.

Copy link

@gopherbot gopherbot commented Oct 23, 2019

Change mentions this issue: [release-branch.go1.13] syscall: reenable sysctl on iOS


This comment has been minimized.

Copy link

@zx2c4 zx2c4 commented Oct 23, 2019

gopherbot pushed a commit that referenced this issue Oct 25, 2019
This was disabled due to a report that the App Store rejects the symbol
__sysctl. However, we use the sysctl symbol, which is fine. The __sysctl
symbol is used by x/sys/unix, which needs fixing instead. So, this
commit reenables sysctl on iOS, so that things like net.InterfaceByName
can work again.

This reverts CL 193843, CL 193844, CL 193845, and CL 193846.

Fixes #35105
Updates #35101
Updates #34133
Updates #35103

Change-Id: Ib8eb9f87b81db24965b0de29d99eb52887c7c60a
Run-TryBot: Jason A. Donenfeld <>
Reviewed-by: David Crawshaw <>
Reviewed-by: Brad Fitzpatrick <>
TryBot-Result: Gobot Gobot <>
Reviewed-by: Elias Naur <>
Reviewed-by: Ian Lance Taylor <>

This comment has been minimized.

Copy link

@gopherbot gopherbot commented Oct 25, 2019

Closed by merging 7ad8def to release-branch.go1.13.

@gopherbot gopherbot closed this Oct 25, 2019

This comment has been minimized.

Copy link

@dmitshur dmitshur commented Nov 1, 2019

This cherry-pick has been approved and included in the Go 1.13.4 release. Updating the label to reflect that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.