Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 577 Bytes

File metadata and controls

28 lines (18 loc) · 577 Bytes

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!