summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/ptrace_ios.go
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-01-18 13:20:32 +0100
committerValentin Rothberg <rothberg@redhat.com>2021-01-19 10:00:53 +0100
commitde05e5816869073600ae8e851093b4b9a9d7fab0 (patch)
tree3d74e9e81d7016f0d51674557673e09c8ab41026 /vendor/golang.org/x/sys/unix/ptrace_ios.go
parent5f1a7a7d27824a0708760ae8f964b19caef18f3d (diff)
downloadpodman-de05e5816869073600ae8e851093b4b9a9d7fab0.tar.gz
podman-de05e5816869073600ae8e851093b4b9a9d7fab0.tar.bz2
podman-de05e5816869073600ae8e851093b4b9a9d7fab0.zip
ginkgo: install on demand via `go get -u`
Install ginkgo on demand via `go get -u` rather than keeping a copy it's entire source code in the vendor dirctory. The main motivation for that is to make `golangci-lint` happy which is continuously throwing up on the import of a program (i.e., ginkgo). The linter is broken and stupid as it ignores flags to ignore dirs and ignores build tags (at least some linters do) which is blocking us from updating to newer versions. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'vendor/golang.org/x/sys/unix/ptrace_ios.go')
-rw-r--r--vendor/golang.org/x/sys/unix/ptrace_ios.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/ptrace_ios.go b/vendor/golang.org/x/sys/unix/ptrace_ios.go
new file mode 100644
index 000000000..183441c9a
--- /dev/null
+++ b/vendor/golang.org/x/sys/unix/ptrace_ios.go
@@ -0,0 +1,11 @@
+// Copyright 2020 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build ios
+
+package unix
+
+func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) {
+ return ENOTSUP
+}