blob: 9550d37b36be39437bc9c4bfe5446663006d283c [file] [log] [blame]
Matthias Andreas Benkard832a54e2019-01-29 09:27:38 +01001// +build linux,arm64
2
3package remote
4
5import "syscall"
6
7// linux_arm64 doesn't have syscall.Dup2 which ginkgo uses, so
8// use the nearly identical syscall.Dup3 instead
9func syscallDup(oldfd int, newfd int) (err error) {
10 return syscall.Dup3(oldfd, newfd, 0)
11}