Skip to content

Commit 0ec47b3

Browse files
authored
Merge pull request #4730 from thaJeztah/update_seccomp_profile
seccomp: add pidfd syscalls
2 parents fca7887 + 0a1104b commit 0ec47b3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

contrib/seccomp/seccomp_default.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
232232
"openat",
233233
"openat2",
234234
"pause",
235+
"pidfd_open",
236+
"pidfd_send_signal",
235237
"pipe",
236238
"pipe2",
237239
"poll",
@@ -571,6 +573,7 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
571573
s.Syscalls = append(s.Syscalls, specs.LinuxSyscall{
572574
Names: []string{
573575
"kcmp",
576+
"pidfd_getfd",
574577
"process_vm_readv",
575578
"process_vm_writev",
576579
"ptrace",

0 commit comments

Comments
 (0)