Skip to content

Commit 1f5b5c9

Browse files
committed
seccomp: allow io-uring related system calls
Adds the io-uring related system call introduced in kernel 5.1 to the seccomp whitelist. With older kernels or older versions of libseccomp, this configure will be omitted. Note that io_uring will grow support for more syscalls in the future so we should keep an eye on this. Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit 325bac7) Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 37c1a8e commit 1f5b5c9

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
@@ -175,6 +175,9 @@ func DefaultProfile(sp *specs.Spec) *specs.LinuxSeccomp {
175175
"ioprio_set",
176176
"io_setup",
177177
"io_submit",
178+
"io_uring_enter",
179+
"io_uring_register",
180+
"io_uring_setup",
178181
"ipc",
179182
"kill",
180183
"lchown",

0 commit comments

Comments
 (0)