Skip to content

harlanwei/linux-kmod-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linux-kmod-template

Initialize this module with a name by executing:

./init.sh <module's name> <dist path>

After this, you can compile your module by:

make

Load this module by:

make load

Unload this module by:

make unload

If you use clangd, you can generate the json file by:

make clangd # Requires an active installation of bear (v3)

About

A template for writing Linux kernel modules.

Topics

Resources

Stars

Watchers

Forks