Просмотр исходного кода

Add arm specific syscalls to default seccomp profile

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
Justin Cormack 9 лет назад
Родитель
Сommit
37d35f3c28
1 измененных файлов с 16 добавлено и 0 удалено
  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{},
+		},
 	},
 }