Browse Source

Add arm specific syscalls to default seccomp profile

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
Justin Cormack 9 năm trước cách đây
mục cha
commit
37d35f3c28
1 tập tin đã thay đổi với 16 bổ sung0 xóa
  1. 16 0
      daemon/execdriver/native/seccomp_default.go

+ 16 - 0
daemon/execdriver/native/seccomp_default.go

@@ -1570,5 +1570,21 @@ var defaultSeccompProfile = &configs.Seccomp{
 			Action: configs.Allow,
 			Args:   []*configs.Arg{},
 		},
+		// arm specific syscalls
+		{
+			Name:   "breakpoint",
+			Action: configs.Allow,
+			Args:   []*configs.Arg{},
+		},
+		{
+			Name:   "cacheflush",
+			Action: configs.Allow,
+			Args:   []*configs.Arg{},
+		},
+		{
+			Name:   "set_tls",
+			Action: configs.Allow,
+			Args:   []*configs.Arg{},
+		},
 	},
 }