Browse code

add send, recv, and x32 so we can install i386 pkgs on amd64

Signed-off-by: Jessica Frazelle <acidburn@docker.com>

Jessica Frazelle authored on 2016/01/19 12:24:01
Showing 1 changed files
... ...
@@ -17,7 +17,7 @@ func arches() []string {
17 17
 	var a = native.String()
18 18
 	switch a {
19 19
 	case "amd64":
20
-		return []string{"amd64", "x86"}
20
+		return []string{"amd64", "x86", "x32"}
21 21
 	case "arm64":
22 22
 		return []string{"arm64", "arm"}
23 23
 	case "mips64":
... ...
@@ -945,6 +945,11 @@ var defaultSeccompProfile = &configs.Seccomp{
945 945
 			Args:   []*configs.Arg{},
946 946
 		},
947 947
 		{
948
+			Name:   "recv",
949
+			Action: configs.Allow,
950
+			Args:   []*configs.Arg{},
951
+		},
952
+		{
948 953
 			Name:   "recvfrom",
949 954
 			Action: configs.Allow,
950 955
 			Args:   []*configs.Arg{},
... ...
@@ -1120,6 +1125,11 @@ var defaultSeccompProfile = &configs.Seccomp{
1120 1120
 			Args:   []*configs.Arg{},
1121 1121
 		},
1122 1122
 		{
1123
+			Name:   "send",
1124
+			Action: configs.Allow,
1125
+			Args:   []*configs.Arg{},
1126
+		},
1127
+		{
1123 1128
 			Name:   "sendfile",
1124 1129
 			Action: configs.Allow,
1125 1130
 			Args:   []*configs.Arg{},