Merge pull request #1532 from mikebrow/seccomp-default-proc-fix
fixes missing default permission
This commit is contained in:
commit
9934acb271
@ -399,7 +399,7 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
|
|||||||
Action: specs.ActAllow,
|
Action: specs.ActAllow,
|
||||||
Args: []specs.LinuxSeccompArg{},
|
Args: []specs.LinuxSeccompArg{},
|
||||||
})
|
})
|
||||||
case "amd", "x32":
|
case "amd64":
|
||||||
s.Syscalls = append(s.Syscalls, specs.LinuxSyscall{
|
s.Syscalls = append(s.Syscalls, specs.LinuxSyscall{
|
||||||
Names: []string{
|
Names: []string{
|
||||||
"arch_prctl",
|
"arch_prctl",
|
||||||
@ -408,7 +408,7 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
|
|||||||
Args: []specs.LinuxSeccompArg{},
|
Args: []specs.LinuxSeccompArg{},
|
||||||
})
|
})
|
||||||
fallthrough
|
fallthrough
|
||||||
case "x86":
|
case "386":
|
||||||
s.Syscalls = append(s.Syscalls, specs.LinuxSyscall{
|
s.Syscalls = append(s.Syscalls, specs.LinuxSyscall{
|
||||||
Names: []string{
|
Names: []string{
|
||||||
"modify_ldt",
|
"modify_ldt",
|
||||||
|
Loading…
Reference in New Issue
Block a user