github.com/LanceLRQ/deer-common@v0.0.9-0.20210319081233-e8222ac018a8/sandbox/forkexec/ptrace_darwin.go (about) 1 // Copyright 2020 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // +build !ios 6 7 package forkexec 8 9 // Nosplit because it is called from forkAndExecInChild. 10 // 11 //go:nosplit 12 func ptrace(request int, pid int, addr uintptr, data uintptr) error { 13 return ptrace1(request, pid, addr, data) 14 }