77e69b9cf3
Signed-off-by: Olivier Gambier <olivier@docker.com>
11 lines
141 B
Go
11 lines
141 B
Go
// +build linux,arm64
|
|
|
|
package panicwrap
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
func dup2(oldfd, newfd int) error {
|
|
return syscall.Dup3(oldfd, newfd, 0)
|
|
}
|