Merge pull request #6411 from nmeum/swapcontext

seccomp: add support for "swapcontext" syscall in default policy
This commit is contained in:
Michael Crosby
2022-01-31 16:11:55 -05:00
committed by GitHub

View File

@@ -467,6 +467,7 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
s.Syscalls = append(s.Syscalls, specs.LinuxSyscall{
Names: []string{
"sync_file_range2",
"swapcontext",
},
Action: specs.ActAllow,
Args: []specs.LinuxSeccompArg{},