fishinabarrel / linux-kernel-module-rust

Framework for writing Linux kernel modules in safe Rust
GNU General Public License v2.0
1.33k stars 119 forks source link

add eprintln macro #273

Closed kloenk closed 3 years ago

kloenk commented 3 years ago

Implements an eprintln macro, that writes onto the kernel console with KERN_ERR

kloenk commented 3 years ago

Only build an tested against linux 5.8.11

alex commented 3 years ago

Thanks for submitting this! Would you mind changing this to be a PR against https://github.com/Rust-for-Linux/linux/ which is where we're trying to move development?

kloenk commented 3 years ago

Can try next week. That project seems much more complicated :-)

kloenk commented 3 years ago

Can that project get a little more documentation? What is there project, where will it go, what linux version is it, how to build it?

alex commented 3 years ago

It's a fork of a very recent linus's tree, wit the intent to upstream. https://github.com/Rust-for-Linux/linux/blob/rust/Documentation/rust/quick-start.rst contains docs, https://github.com/Rust-for-Linux/linux/tree/rust/rust/kernel is the part of the tree relevant to you.

kloenk commented 3 years ago

Is there something like an irc I can join? Would be interested in tracking (and maybe participating) in this project

alex commented 3 years ago

We don't currently have an IRC channel.

On Sun, Oct 4, 2020 at 2:37 PM Finn Behrens notifications@github.com wrote:

Is there something like an irc I can join? Would be interested in tracking (and maybe participating) in this project

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fishinabarrel/linux-kernel-module-rust/pull/273#issuecomment-703297292, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAAGBCUSC56GNJ4HYRMUSDSJC6HLANCNFSM4SDSTZTQ .

-- All that is necessary for evil to succeed is for good people to do nothing.