aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/syscall_illumos.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2021-01-21 15:03:16 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2021-01-22 08:08:25 +0100
commit37319dec1771aaa9764c81359f439e862f45d8e1 (patch)
tree5b82653228c39df5a7ebcf9332db9e248ed1ef5a /vendor/golang.org/x/sys/unix/syscall_illumos.go
parent6fd83de31dab0c60932972c6b26f68fa0bd1871f (diff)
downloadpodman-37319dec1771aaa9764c81359f439e862f45d8e1.tar.gz
podman-37319dec1771aaa9764c81359f439e862f45d8e1.tar.bz2
podman-37319dec1771aaa9764c81359f439e862f45d8e1.zip
vendor: update rootlesskit to v0.12.0
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_illumos.go')
-rw-r--r--vendor/golang.org/x/sys/unix/syscall_illumos.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_illumos.go b/vendor/golang.org/x/sys/unix/syscall_illumos.go
index bbc4f3ea5..7a2d4120f 100644
--- a/vendor/golang.org/x/sys/unix/syscall_illumos.go
+++ b/vendor/golang.org/x/sys/unix/syscall_illumos.go
@@ -75,16 +75,3 @@ func Accept4(fd int, flags int) (nfd int, sa Sockaddr, err error) {
}
return
}
-
-//sysnb pipe2(p *[2]_C_int, flags int) (err error)
-
-func Pipe2(p []int, flags int) error {
- if len(p) != 2 {
- return EINVAL
- }
- var pp [2]_C_int
- err := pipe2(&pp, flags)
- p[0] = int(pp[0])
- p[1] = int(pp[1])
- return err
-}