mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-01 16:03:55 +08:00
b3a3066819
* tsh: Add wrapper for syscall.Dup2 for linux/arm64
Add a wrapper for `syscall.Dup2()` as linux ARM64 does not have that
syscall. On that platform, `syscall.Dup3()` needs to be used instead.
Fixes: 57c909dab1
* Implement dup2 with syscall.Dup3 on all linux platforms
* Add explicit "unix" constraint to dup2_unix.go to ensure Windows is excluded