Skip to content

Introductory Kernel Modules to know more about Kernel Programming.

License

Notifications You must be signed in to change notification settings

Arna-Maity/Linux-Kernel-Modules

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published