October 2026

All posts

Building a kernel module : ps to list processes as an example

Building pss.ko to walk Linux task_struct objects, print process IDs and names, and test the result through the kernel log.

How write() Gets From Your C Code Into the Linux Kernel

Tracing a single write() call on x86-64 Linux from glibc through the syscall instruction, entry_SYSCALL_64, the task's kernel stack, and back.