Skip to content

cdvultur/simple-kmod

 
 

Repository files navigation

simple-kmod

Simple kmod example taken from tldp.org.

To build on Fedora, first install:

sudo dnf install kernel-devel make gcc

To build for the currently running kernel use:

make all

To build for a specific kernel:

make all KVER=5.3.4-300.fc31.x86_64

Load module:

sudo insmod hello-1.ko

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 87.2%
  • Makefile 12.8%