Damus
Wolf480pl · 2w
I wonder how io_uring plays with that... does it hook into ptrace to report uring syscalls like normal syscalls? Or does it have its own bespoke monitoring interface, like netlink?
Alexander Monakov profile picture
@nprofile1q... it doesn't, but submission (io_uring_enter) is visible to strace, at which point it decodes the contents of the ring buffer

a sufficiently advanced userspace may enqueue more commands after the submission though, or even alter an enqueued command (racing against the kernel reading the buffer)
1
Wolf480pl · 2w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqsld6cd53kj8pkz9svnnt54um57nvwrlx9sgya7xhvhl5a5a4f3sqdxhcxx yeah isn't thay the whole point of io_uring right? To send syscalls asynchronously, like you're talking talking to a separate physical device?