The Linux Kernel Module Programming Guide (updated for 5.0+ kernels)
Go to file
demonsome 50e9d9176f
chardev: Revise comment on device node (#23)
The device file create in this example is "chardev". 
So input command "sudo cat /dev/chardev" will get a valid message
"I already told you %d times Hello world!"
2021-07-31 23:03:16 +08:00
examples chardev: Revise comment on device node (#23) 2021-07-31 23:03:16 +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 Fix dead link (#21) 2021-07-30 14:47:22 +08:00
Makefile Add LaTeX script and sample code 2021-07-22 06:35:24 +08:00
README.md Open Software License is not popular. Explicitly refer to OSI 2021-07-27 10:10:16 +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.