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
commit 52b8ca5545
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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{},