The Linux Kernel Module Programming Guide (updated for 5.0+ kernels)
Go to file
2011eric d0f604fc26
Use unified command prompt (#11)
This patch enforces the assumption of using as a non-root user. That is,
it is necessary to specify sudo for the essential commands such as
insmod and rmmod. In addition, most command prompts should start with
$ (dollar sign).
2021-07-26 13:10:34 +08:00
examples Fix trivial tweak for missing comma 2021-07-26 03:08:27 +08:00
lib Add LaTeX script and sample code 2021-07-22 06:35:24 +08:00
.gitignore Exclude the files generated by Linux kernel build system 2021-07-22 08:09:20 +08:00
GPL-2 Initial import 2021-07-22 06:34:19 +08:00
LICENSE Initial import 2021-07-22 06:34:19 +08:00
lkmpg.tex Use unified command prompt (#11) 2021-07-26 13:10:34 +08:00
Makefile Add LaTeX script and sample code 2021-07-22 06:35:24 +08:00
README.md Emphasize on 5.x kernel 2021-07-22 08:31:47 +08:00

The Linux Kernel Module Programming Guide

This project keeps the Linux Kernel Module Programming Guide reasonably up to date, with working examples for recent 5.x 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 original guide may be found at http://www.tldp.org/LDP/lkmpg/

License

The Linux Kernel Module Programming Guide is a free book; you may reproduce and/or modify it under the terms of the Open Software License.
Use of this work is governed by a copyleft license that can be found in the LICENSE file.

The complementary sample code is licensed under GNU GPL version 2, as same as Linux kernel.