summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-09-09 14:19:21 +0200
committerValentin Rothberg <rothberg@redhat.com>2021-09-09 14:19:21 +0200
commit78c5a47fc9443f60d8bc75aff40dbdb4d9d32dc6 (patch)
treea3670ef485ff097c17bda2742202dfe33475a97d /vendor/golang.org/x/sys/unix/syscall_linux_arm.go
parent32eaf347e1e9eb752493b339499aa9fa8777af3d (diff)
downloadpodman-78c5a47fc9443f60d8bc75aff40dbdb4d9d32dc6.tar.gz
podman-78c5a47fc9443f60d8bc75aff40dbdb4d9d32dc6.tar.bz2
podman-78c5a47fc9443f60d8bc75aff40dbdb4d9d32dc6.zip
vendor mpb@v7.1.4
Fixes a race condition leading to a deadlock. Thanks to @mtrmac and @vbauerster for fixing the issue! Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_linux_arm.go')
-rw-r--r--vendor/golang.org/x/sys/unix/syscall_linux_arm.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_arm.go b/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
index b961a620e..094aaaddc 100644
--- a/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
+++ b/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
@@ -26,11 +26,7 @@ func Pipe(p []int) (err error) {
return EINVAL
}
var pp [2]_C_int
- // Try pipe2 first for Android O, then try pipe for kernel 2.6.23.
err = pipe2(&pp, 0)
- if err == ENOSYS {
- err = pipe(&pp)
- }
p[0] = int(pp[0])
p[1] = int(pp[1])
return
@@ -86,7 +82,6 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
//sysnb Geteuid() (euid int) = SYS_GETEUID32
//sysnb Getgid() (gid int) = SYS_GETGID32
//sysnb Getuid() (uid int) = SYS_GETUID32
-//sysnb InotifyInit() (fd int, err error)
//sys Lchown(path string, uid int, gid int) (err error) = SYS_LCHOWN32
//sys Listen(s int, n int) (err error)
//sys Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64