Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saschagrunert/kmod
A Linux kernel module written in Rust
https://github.com/saschagrunert/kmod
kernel-module linux-kernel rust
Last synced: about 1 month ago
JSON representation
A Linux kernel module written in Rust
- Host: GitHub
- URL: https://github.com/saschagrunert/kmod
- Owner: saschagrunert
- License: mit
- Created: 2017-02-09T12:43:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-31T13:04:37.000Z (about 6 years ago)
- Last Synced: 2024-06-03T07:35:26.461Z (4 months ago)
- Topics: kernel-module, linux-kernel, rust
- Language: Rust
- Homepage:
- Size: 8.79 KB
- Stars: 35
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kmod
## A Linux kernel module written in RustDependency 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`.