Why not just have a one-step spawn?
Why not just have a one-step spawn?
Posted Dec 21, 2024 15:39 UTC (Sat) by khim (subscriber, #9252)In reply to: Why not just have a one-step spawn? by josh
Parent article: Process creation in io_uring
A much simpler approach would be to just add some code that would do that setup in the empty process. And we already have memfd_create/execveat combo that can do that.
If you want – add flag to the clone that would call execveat. And then new code in an entirely empty image can do whatever it needs to prepare for the execution of the real binary that you want to execution.
Why shove io_uring into something that already can be done entirely from userspace? Buzzword compliance?
