Ubuntu Pastebin

Paste from Adam Conrad at Wed, 8 Apr 2015 11:15:27 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
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
Download as text