From 308eff99e8468be4e92951de0ac69b27042a833b Mon Sep 17 00:00:00 2001 From: Jessica Frazelle Date: Mon, 18 Jan 2016 19:24:01 -0800 Subject: [PATCH] add send, recv, and x32 so we can install i386 pkgs on amd64 Signed-off-by: Jessica Frazelle --- daemon/execdriver/native/seccomp_default.go | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/daemon/execdriver/native/seccomp_default.go b/daemon/execdriver/native/seccomp_default.go index b1c353a004..a3b4028359 100644 --- a/daemon/execdriver/native/seccomp_default.go +++ b/daemon/execdriver/native/seccomp_default.go @@ -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,