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