Tag
exec
- Feb 14, 2025 From Command Name to Process: The execve Argument Contract How a typed command becomes a running program, what the kernel inspects before the first instruction executes, and which process state survives the replacement. developer tools
- Oct 24, 2024 fork and exec: Which Descriptors Survive and Why Between fork and exec a child inherits every open descriptor, and only a per-entry flag can prevent it. The inheritance rules, the leak they cause, and the atomicity problems that follow from closing descriptors after the fact. systems programming
- Feb 19, 2024 What fork Copies, and Why Copy-on-Write Defers Almost All of It How the kernel duplicates an address space by sharing page frames read-only, what a write does to break the sharing, and why fork without exec is expensive. operating systems
- Nov 25, 2023 Why fork and exec Are Separate Calls The two-step process creation model, what fork copies and what copy-on-write defers, and why the split survives despite its cost in a program that only wants to exec. computing history
- Aug 23, 2023 How Capability Sets Split Root Authority The five capability sets a Linux process carries, the transitions between them at exec, and why dropping a capability is not the same as dropping a file permission. virtualization