aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2019-07-31 18:45:42 +0200
committertechknowlogick <techknowlogick@gitea.io>2019-07-31 12:45:42 -0400
commita9b4c8171f3b62a951079cdca67e4cf703eb4cc1 (patch)
treeb52f51ec06fb0b91958708b958f7c15c1623e9d1 /vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
parentbb875e98a1ee4a30c67a3b879f924e88789baf67 (diff)
downloadgitea-a9b4c8171f3b62a951079cdca67e4cf703eb4cc1.tar.gz
gitea-a9b4c8171f3b62a951079cdca67e4cf703eb4cc1.zip
Update src-d/go-git to v4.13.0 (#7688)
* update gopkg.in/src-d/go-git.v4 v4.13.0 * mod tidy * vendor
Diffstat (limited to 'vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go')
-rw-r--r--vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
index 8e3c0cea9a..f995520d38 100644
--- a/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
+++ b/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
@@ -387,6 +387,16 @@ func pipe2(p *[2]_C_int, flags int) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+func ptrace(request int, pid int, addr uintptr, data int) (err error) {
+ _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
func Getcwd(buf []byte) (n int, err error) {
var _p0 unsafe.Pointer
if len(buf) > 0 {