Browse code

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>

Justin Cormack authored on 2016/03/06 07:10:12
Showing 2 changed files
... ...
@@ -594,6 +594,11 @@
594 594
 			"args": []
595 595
 		},
596 596
 		{
597
+			"name": "ipc",
598
+			"action": "SCMP_ACT_ALLOW",
599
+			"args": []
600
+		},
601
+		{
597 602
 			"name": "kill",
598 603
 			"action": "SCMP_ACT_ALLOW",
599 604
 			"args": []
... ...
@@ -626,6 +626,11 @@ var DefaultProfile = &types.Seccomp{
626 626
 			Args:   []*types.Arg{},
627 627
 		},
628 628
 		{
629
+			Name:   "ipc",
630
+			Action: types.ActAllow,
631
+			Args:   []*types.Arg{},
632
+		},
633
+		{
629 634
 			Name:   "kill",
630 635
 			Action: types.ActAllow,
631 636
 			Args:   []*types.Arg{},