seccomp: add pidfd_getfd syscall (gated by CAP_SYS_PTRACE)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2020-11-13 13:34:49 +01:00
parent 2dbbd10fd6
commit 0a1104bcf3
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C

View File

@ -573,6 +573,7 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
s.Syscalls = append(s.Syscalls, specs.LinuxSyscall{
Names: []string{
"kcmp",
"pidfd_getfd",
"process_vm_readv",
"process_vm_writev",
"ptrace",