aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/ptrace_darwin.go
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-10-25 00:47:47 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-10-25 00:47:47 +0200
commitc6cc0108ca7738023b45e0eeac0fa2390532dd93 (patch)
tree36890e6cd3091bbab8efbe686cc56f467f645bfd /vendor/golang.org/x/sys/unix/ptrace_darwin.go
parent0130404a1dc663d4aa68d780c9bcb23a4243e68d (diff)
downloadjbmafp-c6cc0108ca7738023b45e0eeac0fa2390532dd93.tar.gz
Added vendor lock on depsHEADmaster
Diffstat (limited to 'vendor/golang.org/x/sys/unix/ptrace_darwin.go')
-rw-r--r--vendor/golang.org/x/sys/unix/ptrace_darwin.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/ptrace_darwin.go b/vendor/golang.org/x/sys/unix/ptrace_darwin.go
new file mode 100644
index 0000000..39dba6c
--- /dev/null
+++ b/vendor/golang.org/x/sys/unix/ptrace_darwin.go
@@ -0,0 +1,18 @@
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//go:build darwin && !ios
6// +build darwin,!ios
7
8package unix
9
10import "unsafe"
11
12func ptrace(request int, pid int, addr uintptr, data uintptr) error {
13 return ptrace1(request, pid, addr, data)
14}
15
16func ptracePtr(request int, pid int, addr uintptr, data unsafe.Pointer) error {
17 return ptrace1Ptr(request, pid, addr, data)
18}