Linux Kernel Module Programming Guide

Bob Mottram 3656f7280c Install headers on readme 1 month ago
4.17.2 5cce561dfa Typo 1 month ago
older_versions 09923d098e Archive older version 1 month ago
.gitignore 7bf52f6566 Reintroduce devicemodel example 6 months ago
LICENSE 8d3435e690 Limit line lengths 1 year ago
README.md 3656f7280c Install headers on readme 1 month ago

README.md

The Linux Kernel Module Programming Guide

This is a project to keep the kernel module programmer's guide reasonably up to date, with working examples for recent kernel versions. The guide has been around since 2001 and most copies of it on the web only describe old 2.6.x kernels.

The text is in Emacs org-mode format with embedded C code examples, also exported in html format for convenient viewing.

The original guide may be found at http://www.tldp.org/LDP/lkmpg/

Install the kernel header files on Arch/Parabola:

sudo pacman -S linux-libre-headers

Then extract and compile the examples:

cd [version directory]
./create_examples.sh
cd examples
make