Skip to content

Commit 325bac7

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]>
1 parent c8523cc commit 325bac7

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

0 commit comments

Comments
 (0)