go/src/log/syslog
Jason A. Donenfeld f91e895de3 syscall: reenable sysctl on iOS
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 #35101
Updates #34133
Updates #35103

Change-Id: Ib8eb9f87b81db24965b0de29d99eb52887c7c60a
Reviewed-on: https://go-review.googlesource.com/c/go/+/202778
Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-10-23 15:12:15 +00:00
..
doc.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
example_test.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
syslog.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00
syslog_test.go syscall: reenable sysctl on iOS 2019-10-23 15:12:15 +00:00
syslog_unix.go all: remove the nacl port (part 1) 2019-10-09 06:14:44 +00:00