Arna-Maity / Linux-Kernel-Modules

Introductory Kernel Modules to know more about Kernel Programming.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linux Kernel Modules

HitCount

This repo contains some very basic linux kernel modules to illustrate the basic concepts of kernel programming.

Reference: The LKM programming Guide.

  1. Basic Hello World Module.
  2. Usage of __init & __exit macros.
  3. Module Licensing and Documentation.
  4. Module Parameters.
  5. Simple Character Device Driver.
  6. /proc File System Module.
  7. /proc using Standard File System.
  8. Managing procfs with seq_file.
  9. IOCTL (Input/Output ConTroL).

Tracing syscalls while executing a program:

strace <prg-name> <args>

Some useful StackOverflow Threads:

  1. proc_root
  2. Using newer Kernel APIs
  3. create_proc_entry() alternative

Courses on Basic Linux Kernel Development

  1. A Beginners Guide to Linux Kernel Development (Linux Foundation)

About

Introductory Kernel Modules to know more about Kernel Programming.

License:GNU General Public License v3.0


Languages

Language:C 97.5%Language:Makefile 2.5%