Skip to content

hellerve-project-based-learning/ko.carp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ko.carp

A Linux kernel module, written in Carp. It’s mostly instructional.

Compilation & Usage

You’ll have to have the Linux kernel headers installed and in your path. You should be able to install them for you system using your system package manager of choice (search for linux-headers).

Once you do, you should be able to call the following commands:

# building the executable
carp -b ko.carp

# installing and deleting the module
sudo insmod ./carp.ko
sudo rmmod carp


# looking for the init and exit messages
dmesg | grep 'carp'

Have fun!

About

An example Linux kernel module in Carp

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published