This repo contains some very basic linux kernel modules to illustrate the basic concepts of kernel programming.
Reference: The LKM programming Guide.
- Basic Hello World Module.
- Usage of __init & __exit macros.
- Module Licensing and Documentation.
- Module Parameters.
- Simple Character Device Driver.
- /proc File System Module.
- /proc using Standard File System.
- Managing procfs with seq_file.
- IOCTL (Input/Output ConTroL).
strace <prg-name> <args>
- A Beginners Guide to Linux Kernel Development (Linux Foundation)