TIL rust's spawn implementation uses a unix socket for communication between child & parent (github.com/rust-lang/ru...). Only happens when it can't use posix spawn (e.g. using pre_exec callback). Hit this when running a kernel without unix sockets in qemu and got function not implemented 🫠
Post
Little script to see for yourself gist.github.com/jordanisaacs...
gist.github.comtest_spawn.rsGitHub Gist: instantly share code, notes, and snippets.
0 reposts1 like
No replies yet.