Description: Trivial patch to port to arm64
Author: Adam Conrad <adconrad@ubuntu.com>
Last-Update: 2015-04-08
--- docker.io-1.5.0~dfsg1.orig/libcontainer/system/setns_linux.go
+++ docker.io-1.5.0~dfsg1/libcontainer/system/setns_linux.go
@@ -12,6 +12,7 @@ import (
// We are declaring the macro here because the SETNS syscall does not exist in th stdlib
var setNsMap = map[string]uintptr{
"linux/386": 346,
+ "linux/arm64": 268,
"linux/amd64": 308,
"linux/arm": 374,
"linux/ppc64": 350,
--- docker.io-1.5.0~dfsg1.orig/libcontainer/system/syscall_linux_64.go
+++ docker.io-1.5.0~dfsg1/libcontainer/system/syscall_linux_64.go
@@ -1,4 +1,4 @@
-// +build linux,amd64 linux,ppc64 linux,ppc64le linux,s390x
+// +build linux,arm64 linux,amd64 linux,ppc64 linux,ppc64le linux,s390x
package system