1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
Jessica Frazelle 2016-01-18 19:24:01 -08:00 committed by Tibor Vass
parent 3e54117f4a
commit e75305e5f3

View file

@ -17,7 +17,7 @@ func arches() []string {
var a = native.String() var a = native.String()
switch a { switch a {
case "amd64": case "amd64":
return []string{"amd64", "x86"} return []string{"amd64", "x86", "x32"}
case "arm64": case "arm64":
return []string{"arm64", "arm"} return []string{"arm64", "arm"}
case "mips64": case "mips64":
@ -944,6 +944,11 @@ var defaultSeccompProfile = &configs.Seccomp{
Action: configs.Allow, Action: configs.Allow,
Args: []*configs.Arg{}, Args: []*configs.Arg{},
}, },
{
Name: "recv",
Action: configs.Allow,
Args: []*configs.Arg{},
},
{ {
Name: "recvfrom", Name: "recvfrom",
Action: configs.Allow, Action: configs.Allow,
@ -1119,6 +1124,11 @@ var defaultSeccompProfile = &configs.Seccomp{
Action: configs.Allow, Action: configs.Allow,
Args: []*configs.Arg{}, Args: []*configs.Arg{},
}, },
{
Name: "send",
Action: configs.Allow,
Args: []*configs.Arg{},
},
{ {
Name: "sendfile", Name: "sendfile",
Action: configs.Allow, Action: configs.Allow,