Add ipc syscall to default seccomp profile

On 32 bit x86 this is a multiplexing syscall for the system V
ipc syscalls such as shmget, and so needs to be allowed for
shared memory access for 32 bit binaries.

Fixes #20733

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
Upstream-commit: 31410a6d79fc4ea6fa496636015bf9f53c1c8b14
Component: engine
This commit is contained in:
Justin Cormack
2016-03-05 22:10:12 +00:00
parent c271dabe06
commit 288ebd11a3
2 changed files with 10 additions and 0 deletions

View File

@ -593,6 +593,11 @@
"action": "SCMP_ACT_ALLOW",
"args": []
},
{
"name": "ipc",
"action": "SCMP_ACT_ALLOW",
"args": []
},
{
"name": "kill",
"action": "SCMP_ACT_ALLOW",

View File

@ -625,6 +625,11 @@ var DefaultProfile = &types.Seccomp{
Action: types.ActAllow,
Args: []*types.Arg{},
},
{
Name: "ipc",
Action: types.ActAllow,
Args: []*types.Arg{},
},
{
Name: "kill",
Action: types.ActAllow,