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:
parent
b6be645197
commit
308eff99e8
1 changed files with 11 additions and 1 deletions
|
@ -17,7 +17,7 @@ func arches() []string {
|
|||
var a = native.String()
|
||||
switch a {
|
||||
case "amd64":
|
||||
return []string{"amd64", "x86"}
|
||||
return []string{"amd64", "x86", "x32"}
|
||||
case "arm64":
|
||||
return []string{"arm64", "arm"}
|
||||
case "mips64":
|
||||
|
@ -944,6 +944,11 @@ var defaultSeccompProfile = &configs.Seccomp{
|
|||
Action: configs.Allow,
|
||||
Args: []*configs.Arg{},
|
||||
},
|
||||
{
|
||||
Name: "recv",
|
||||
Action: configs.Allow,
|
||||
Args: []*configs.Arg{},
|
||||
},
|
||||
{
|
||||
Name: "recvfrom",
|
||||
Action: configs.Allow,
|
||||
|
@ -1119,6 +1124,11 @@ var defaultSeccompProfile = &configs.Seccomp{
|
|||
Action: configs.Allow,
|
||||
Args: []*configs.Arg{},
|
||||
},
|
||||
{
|
||||
Name: "send",
|
||||
Action: configs.Allow,
|
||||
Args: []*configs.Arg{},
|
||||
},
|
||||
{
|
||||
Name: "sendfile",
|
||||
Action: configs.Allow,
|
||||
|
|
Loading…
Reference in a new issue