3 ms·
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?
by hinkley 2y ago
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?
- JackSlateur 2y agoAs 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
- cpuguy83 2y agoio_uring cve's: https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=io_uring https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=io_uring seccomp is used for defense in depth. If someone managed to escalate privileges through some means the seccomp policy will still prevent them from doing nasty things or escalating further.
- poincaredisk 2y agoThat's not contradictory. Capabilities in docker are also limited, but both are used as a part of defense in depth.
- cpuguy83 2y agoThat 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.