io_uring Internals

A slide deck I made recently, covering some internal implementation details of io_uring. Click the slides above to navigate, or open directly here.

June 25, 2026 · 1 min · 23 words · Wokron

Building a Minimal Linux Filesystem

Last time, we covered how to set up a development environment with the latest kernel using QEMU. But after trying it for a while, I found it wasn’t very convenient. More often than not, I just need to run a single program (like a unit test), and the full environment built in the previous article makes this process more complicated. This article introduces a simpler approach. A simple script is all it takes to build a complete runtime environment....

January 22, 2026 · 3 min · 573 words · Wokron

Running the Latest Kernel on QEMU

Recently, I’ve been spending my spare time on a systems programming project. Before long I ran into a problem: using the latest kernel features isn’t exactly easy. Most distributions lag behind the latest kernel releases, and I’m not bold enough to risk upgrading the kernel on my only Linux machine (using the installkernel command). So I needed a way to set up a development environment with a newer kernel while keeping my system safe....

November 29, 2025 · 7 min · 1489 words · Wokron

Build a Container from Scratch with Namespaces

Container technology is built on three Linux kernel features: Namespaces, Cgroups, and Unionfs. They provide logical resource isolation, physical resource limits, and container filesystems, respectively. Among these, Namespaces are the most critical. They implement isolation — the most essential aspect of virtualization. Even without Cgroups and with an alternative to Unionfs, you can still achieve much of what a container does, as long as you have Namespaces. So in this article, we’ll try to build a simple container using Namespaces....

October 13, 2025 · 11 min · 2322 words · Wokron

Linux Users and Users in Containers

The era of multi-user operating systems is long over. People today generally don’t share computing resources by having multiple users log into the same OS — we have better virtualization technology for that. But users still serve a purpose, the most important being permission isolation. There’s a lot to say on this topic, but we’ll focus on just the most critical points. Containers introduce additional quirks around users, which we’ll also discuss....

October 12, 2025 · 7 min · 1483 words · Wokron

Trigger (Almost) Every Signal

Type kill -L and you’ll see all the standard signals available on Linux — 31 in total. $ kill -L 1 HUP 2 INT 3 QUIT 4 ILL 5 TRAP 6 ABRT 7 BUS 8 FPE 9 KILL 10 USR1 11 SEGV 12 USR2 13 PIPE 14 ALRM 15 TERM 16 STKFLT 17 CHLD 18 CONT 19 STOP 20 TSTP 21 TTIN 22 TTOU 23 URG 24 XCPU 25 XFSZ 26 VTALRM 27 PROF 28 WINCH 29 POLL 30 PWR 31 SYS This time, let’s try to trigger these signals in their intended scenarios....

May 23, 2025 · 21 min · 4264 words · Wokron