Skip to content
linux kernel modules examples
C Makefile
Branch: master
Clone or download
psachin Re-visiting this repo
- Cleanup
  - Compile module against running kernel.
  - Few module compilation throws error. Will fix them when I get time.

- Network stack drop packet example: `pkt_drop`
Latest commit 106cdda Feb 17, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
firmware Re-visiting this repo Feb 18, 2017
hello-param Subject: More elaborated Makefile. Aug 4, 2014
hello Re-visiting this repo Feb 18, 2017
hello2 Re-visiting this repo Feb 18, 2017
hello3 Re-visiting this repo Feb 18, 2017
module_param2 Re-visiting this repo Feb 18, 2017
multiple_file Re-visiting this repo Feb 18, 2017
pid Re-visiting this repo Feb 18, 2017
pkt_drop Re-visiting this repo Feb 18, 2017
start_cleanup
stick_driver Re-visiting this repo Feb 18, 2017
test_char_device
usb Re-visiting this repo Feb 18, 2017
userapplication Subject: added another char driver(null-driver.c) Aug 4, 2013
.gitignore Re-visiting this repo Feb 18, 2017
ReadMe.org Re-visiting this repo Feb 18, 2017

ReadMe.org

Linux kernel modules

Basic Linux kernel modules examples

Example usage:

# Visit module directory
cd hello

# Compile module
make

# Display module information
modinfo hello.ko

# Insert module
sudo insmod hello.ko

# Remove module
sudo rmmod hello.ko
You can’t perform that action at this time.