A Linux kernel module written in Rust
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore Initial commit Feb 9, 2017
Cargo.toml Initial commit Feb 9, 2017
LICENSE Initial commit Feb 9, 2017
Makefile Extended Makefile for cross-compilation purposes Jul 31, 2018
Makefile.in
README.md

README.md

kmod

A Linux kernel module written in Rust

Dependency are the current Linux headers for your running kernel. To build the module simply execute in the root directory:

make

To build a release execute:

make RELEASE=1

To cross-compile, specify RUST_TARGET and KERNEL_BUILD_DIR:

make RUST_TARGET=i686-unknown-linux-gnu KERNEL_BUILD_DIR=/path/to/linux-kernel-x.y.z/build

The kernel module can be found in ./target/kernel/kmod.ko.