Skip to content

An Omikuji (fortune-telling lot) Linux kernel module in Rust

License

Notifications You must be signed in to change notification settings

mnogu/omikuji_kernel_module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

omikuji_kernel_module

An Omikuji (fortune-telling lot) Linux kernel module in Rust

Ubuntu 23.10

$ sudo apt install rustc-1.68 rust-1.68-src rustfmt-1.68 bindgen-0.56 \
    llvm clang build-essential linux-lib-rust-$(uname -r)
$ git clone https://github.com/mnogu/omikuji_kernel_module.git
$ cd omikuji_kernel_module
$ make
$ sudo update-secureboot-policy --new-key
$ sudo make install
$ sudo modprobe fortune
$ journalctl -k -n 1
Mar 07 12:34:56 foo-server kernel: fortune: 大吉 (Great blessing)
$ sudo modprobe -r fortune
$ sudo modprobe fortune
$ journalctl -k -n 1

Reference

About

An Omikuji (fortune-telling lot) Linux kernel module in Rust

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published