Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 383 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 383 Bytes

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