seccomp: add support for "swapcontext" syscall in default policy
@@ -474,7 +474,8 @@
},
{
"names": [
- "sync_file_range2"
+ "sync_file_range2",
+ "swapcontext"
],
"action": "SCMP_ACT_ALLOW",
"includes": {
@@ -474,6 +474,7 @@ func DefaultProfile() *Seccomp {
LinuxSyscall: specs.LinuxSyscall{
Names: []string{
"sync_file_range2",
+ "swapcontext",
Action: specs.ActAllow,