FreeBSD procctl: Reapers, Parent-Death Signals, and Process Hardening
A practical map of FreeBSD procctl process controls, including reaper trees, parent-death signals, mitigation state, permissions, and safe operations.
tag
7 posts
A practical map of FreeBSD procctl process controls, including reaper trees, parent-death signals, mitigation state, permissions, and safe operations.
How the shell exec builtin replaces its process, preserves PID and selected descriptors, changes signal and trap behavior, and simplifies service wrappers.
A practical guide to inspecting FreeBSD process arguments, descriptors, mappings, credentials, signals, threads, and core files with procstat.
How Linux PID file descriptors provide stable process identity for signaling, polling, waiting, and descriptor duplication without PID reuse races.
Why a zombie process is actually harmless dead weight rather than a resource leak, and how to find the parent process that's actually responsible for clearing it.
Ctrl-Z, bg, fg, and a trailing & all touch one mechanism: process groups and Unix signals deciding which process can read your terminal.
The specific interop layer that lets a WSL shell launch Windows executables and Windows shells launch Linux commands, translating paths and streams both ways.