Remove a really confusing fallthrough
This is so confusing, and not needed. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
80e6bbfc5d
commit
35be3d5127
@ -403,11 +403,11 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
|
|||||||
s.Syscalls = append(s.Syscalls, specs.LinuxSyscall{
|
s.Syscalls = append(s.Syscalls, specs.LinuxSyscall{
|
||||||
Names: []string{
|
Names: []string{
|
||||||
"arch_prctl",
|
"arch_prctl",
|
||||||
|
"modify_ldt",
|
||||||
},
|
},
|
||||||
Action: specs.ActAllow,
|
Action: specs.ActAllow,
|
||||||
Args: []specs.LinuxSeccompArg{},
|
Args: []specs.LinuxSeccompArg{},
|
||||||
})
|
})
|
||||||
fallthrough
|
|
||||||
case "386":
|
case "386":
|
||||||
s.Syscalls = append(s.Syscalls, specs.LinuxSyscall{
|
s.Syscalls = append(s.Syscalls, specs.LinuxSyscall{
|
||||||
Names: []string{
|
Names: []string{
|
||||||
|
Loading…
Reference in New Issue
Block a user