kmod-loader 0.2.0

Rust implementation of Linux kernel module loader for loadable kernel module development
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![no_std]
#![allow(unsafe_op_in_unsafe_fn)]
mod arch;
mod loader;
mod module;
mod param;
extern crate alloc;
pub use arch::ArchRelocationType;
use axerrno::{LinuxError, LinuxResult};
pub use loader::{KernelModuleHelper, ModuleLoader, ModuleOwner, SectionMemOps, SectionPerm};
#[doc(hidden)]
pub use paste;

type Result<T> = LinuxResult<T>;
type ModuleErr = LinuxError;