Linux Kernel Module Programming Guide

Bob Mottram 1b60769767 Recommending typing in code examples is not very 2019 1 week ago
5.2.5 1b60769767 Recommending typing in code examples is not very 2019 1 week ago
older_versions 705ee7afc7 Include diagram 1 week ago
.gitignore 7bf52f6566 Reintroduce devicemodel example 1 year ago
LICENSE 8d3435e690 Limit line lengths 2 years ago
README.md 12bdab2747 Add french translations 11 months 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/

French translations for kernel 4.15.2 by Stéphane Burel.

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