diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-08-27 09:10:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-27 09:10:27 -0400 |
commit | 69cdf5d8035672e8bc7141cac0207e4b0f0e80cd (patch) | |
tree | bd2f9184eb3f7ca4aa7d3323b6fec350aae56209 /vendor/golang.org/x/sys/unix/zsyscall_linux.go | |
parent | 6f61ef87afe6695ca6cbd6e3b818ef619b6d54da (diff) | |
parent | f5ce02b227f43feb7a02b09890facf198448621e (diff) | |
download | podman-69cdf5d8035672e8bc7141cac0207e4b0f0e80cd.tar.gz podman-69cdf5d8035672e8bc7141cac0207e4b0f0e80cd.tar.bz2 podman-69cdf5d8035672e8bc7141cac0207e4b0f0e80cd.zip |
Merge pull request #11330 from containers/dependabot/go_modules/github.com/containers/image/v5-5.16.0
Bump github.com/containers/image/v5 from 5.15.2 to 5.16.0
Diffstat (limited to 'vendor/golang.org/x/sys/unix/zsyscall_linux.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/zsyscall_linux.go | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux.go b/vendor/golang.org/x/sys/unix/zsyscall_linux.go index 7305cc915..2dbe3da7a 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_linux.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_linux.go @@ -48,6 +48,16 @@ func ioctl(fd int, req uint, arg uintptr) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) { + _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(oldpath) @@ -1201,7 +1211,7 @@ func PivotRoot(newroot string, putold string) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { +func Prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)), 0, 0) if e1 != 0 { err = errnoErr(e1) |