mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-03 23:57:32 -04:00
unix: don't use ptrace on ios
Follow CL 279481 which did the same for package syscall. For golang/go#43302. Change-Id: I9fa7bec5712cf43fd7485225d4c21665c151defc Reviewed-on: https://go-review.googlesource.com/c/sys/+/279393 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Cherry Zhang <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
committed by
Tobias Klauser
parent
bc327ba9c2
commit
0d417f6369
@@ -6,7 +6,7 @@ package unix
|
||||
|
||||
import "syscall"
|
||||
|
||||
func ptrace(request int, pid int, addr uintptr, data uintptr) error {
|
||||
func ptrace1(request int, pid int, addr uintptr, data uintptr) error {
|
||||
return ENOTSUP
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user