The Linux Kernel Module Programming Guide (updated for 5.0+ kernels)
Go to file
demonsome 45769753d3
procfs1: Fix parameter descriptions (#34)
In "procfs1.c," the "buffer" is actually the second parameter of procfile_read().
The "offset" is the fourth one.
2021-08-02 23:01:34 +08:00
.github/workflows Publish GitHub Page with GitHub Action 2021-08-02 06:22:29 +01: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 Generate HTML via make4ht (#20) 2021-08-02 02:42:39 +08:00
GPL-2 Initial import 2021-07-22 06:34:19 +08:00
html.cfg Generate HTML via make4ht (#20) 2021-08-02 02:42:39 +08:00
LICENSE Initial import 2021-07-22 06:34:19 +08:00
lkmpg.tex procfs1: Fix parameter descriptions (#34) 2021-08-02 23:01:34 +08:00
Makefile Generate HTML via make4ht (#20) 2021-08-02 02:42:39 +08:00
README.md Mention the online publication 2021-08-02 15:15:49 +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 book can be freely accessed via https://sysprog21.github.io/lkmpg/
The original guide may be found at Linux Documentation Project.

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.