this post was submitted on 24 Jul 2025
72 points (100.0% liked)

Linux

8723 readers
404 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] sjohannes@programming.dev 10 points 1 week ago* (last edited 1 week ago) (1 children)

It doesn't launch the new binary at all. When the current process wants to create a new process, instead of doing fork+exec (which launches the new binary and wreaks havoc because versions now don't match), it simply tells the ForkServer (a different process running the old binary) to fork (split) itself.

Chromium also does this; they call their equivalent to ForkServer the zygote process and this article explains it really well.

[โ€“] ALERT@sh.itjust.works 1 points 1 week ago

Thank you, I feel smarter (no)!