Skip to content

bones-codes/lkm_helloWorld

Repository files navigation

"Hello World" LKM

A simple "Hello World" Linux Kernel Module from Mark Loiseau's tutorial. Requires module-assistant.

  1. Compile the code.
  2. $ sudo insmod hello.ko – insert the "Hello World" LKM into the running kernel.
  3. $ tail /var/log/syslog – verify insertion. Note: Some systems might log kernel messages to a different file.
  4. $ sudo rmmod hello – remove the module.
  5. Tail the syslog to verify removal.

About

a short exercise in compiling a linux kernel module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published