Hacker News with Generative AI: Kernel Modules

My Own Private Binary: An Idiosyncratic Introduction to Linux Kernel Modules (muppetlabs.com)
Several years ago, I spent a serious chunk of time figuring out how to make really teensy ELF executable files.
Configure Kernel Modules Like a Pro (naut.ca)
Kernel modules are powerful pieces of code that extend the capability of your kernel, for example, WireGuard was originally developed as a kernel module. Modules can be loaded at the time of kernel image load, initramfs load, or later on during the boot sequence. Unfortunately, the syntax of config files, options, and modules can be quite confusing, which is why I created a complete guide to loading kernel modules, in order of the boot sequence: