aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/zsyscall_linux.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-03-15 07:10:25 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2021-03-16 06:19:58 -0400
commit310eae4ba44bc1c98c5cc5995f1f183b8ac432b1 (patch)
tree9f3fe5d78514078a40eb9da29932b218fbc9869a /vendor/golang.org/x/sys/unix/zsyscall_linux.go
parente7dc59252bd722377938ac3e6b4fd7e077f05293 (diff)
downloadpodman-310eae4ba44bc1c98c5cc5995f1f183b8ac432b1.tar.gz
podman-310eae4ba44bc1c98c5cc5995f1f183b8ac432b1.tar.bz2
podman-310eae4ba44bc1c98c5cc5995f1f183b8ac432b1.zip
Switch all builds to pull-never
Fixes: https://github.com/containers/buildah/issues/2779 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/golang.org/x/sys/unix/zsyscall_linux.go')
-rw-r--r--vendor/golang.org/x/sys/unix/zsyscall_linux.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux.go b/vendor/golang.org/x/sys/unix/zsyscall_linux.go
index 2fbbbe5a8..7305cc915 100644
--- a/vendor/golang.org/x/sys/unix/zsyscall_linux.go
+++ b/vendor/golang.org/x/sys/unix/zsyscall_linux.go
@@ -1,5 +1,6 @@
// Code generated by mkmerge.go; DO NOT EDIT.
+//go:build linux
// +build linux
package unix
@@ -531,6 +532,16 @@ func Close(fd int) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+func CloseRange(first uint, last uint, flags uint) (err error) {
+ _, _, e1 := Syscall(SYS_CLOSE_RANGE, uintptr(first), uintptr(last), uintptr(flags))
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error) {
r0, _, e1 := Syscall6(SYS_COPY_FILE_RANGE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags))
n = int(r0)