The syscall package is deprecated and no longer updated as per
https://golang.org/pkg/syscall/. Use the golang.org/x/sys/unix package
instead, which also provides a wrapper for SYS_SETNS, so the syscall
number encoding depending on runtime.GOARCH can be dropped.
The syscall package is deprecated and no longer updated as per https://golang.org/pkg/syscall/. Use the golang.org/x/sys/unix package instead, which also provides a wrapper for
SYS_SETNS
, so the syscall number encoding depending onruntime.GOARCH
can be dropped.Signed-off-by: Tobias Klauser tklauser@distanz.ch