logoalt Hacker News

hinkley10/11/20242 repliesview on HN

Has anyone speculated yet about how much slower a secure io_uring has to be? Is it still a net win once you lock it down fully?


Replies

JackSlateur10/12/2024

As far as I know, io_uring is quite secure: a user cannot perform a syscall through it unless it has the privileges required to perform this syscall directly

I would gladly get more details about the exact purpose of seccomp in a container environment. Reading a bit of internet, I find that docker "uses seccomp to block mount(2), which could be used to escape the container", which makes no sense to me because mount(2) requires CAP_SYS_ADMIN

show 2 replies
cpuguy8310/12/2024

That would be impossible to know. The main thing with io_uring is it makes it so you don't need to context switch (ie make system calls) to perform a number of operations.