Skip to content
systemcoding.dev

Library

Everything you need to level up your coding skills.

Flat illustration of user space above the system call boundary, the kernel and the hardware, with the macOS, Linux and Apple logos.
KernelsGuide

The Complete Guide to macOS Kernel Internals

A map of the XNU kernel behind macOS: Mach tasks and ports, the BSD layer, IOKit, system call entry, virtual memory, security layers, extensions and boot.

25 min read
Flat illustration of user space above the system call boundary, the kernel and the hardware, with the Linux, C and Rust logos.
KernelsGuide

The Complete Guide to Linux Kernel Modules

A complete guide to Linux kernel modules: lifecycle, build, load, parameters, exported symbols, a working misc device, licensing, signing, DKMS and debugging.

27 min read
Flat illustration of a shield with a lock, a key and a password field, with the Linux, C and Rust logos.
Security

Write a seccomp Filter With libseccomp

Build a default-deny seccomp allow-list in C with libseccomp, add an argument rule that limits write to one file descriptor, and inspect the generated BPF.

6 min read

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.