From 35be3d5127b5966e79b89c4108a6ffc8b73ed569 Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Thu, 8 Feb 2018 16:22:29 +0000 Subject: [PATCH] Remove a really confusing fallthrough This is so confusing, and not needed. Signed-off-by: Justin Cormack --- contrib/seccomp/seccomp_default.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/seccomp/seccomp_default.go b/contrib/seccomp/seccomp_default.go index 7e2e3e628..cefdd952d 100644 --- a/contrib/seccomp/seccomp_default.go +++ b/contrib/seccomp/seccomp_default.go @@ -403,11 +403,11 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp { s.Syscalls = append(s.Syscalls, specs.LinuxSyscall{ Names: []string{ "arch_prctl", + "modify_ldt", }, Action: specs.ActAllow, Args: []specs.LinuxSeccompArg{}, }) - fallthrough case "386": s.Syscalls = append(s.Syscalls, specs.LinuxSyscall{ Names: []string{