The document compares the Linux seccomp(2) and OpenBSD pledge(2) mechanisms for restricting system calls in applications, highlighting their development history and usage. It details how seccomp allows fine-grained control over permitted system calls via BPF programs, while pledge provides a simpler promise-based interface for allowed operations. The document also includes technical code examples and outlines the reporting and logging capabilities of both mechanisms.