Follow

Anyone interested to take over the maintenance of the driver for the floppy controller in the Linux Kernel?

github.com/torvalds/linux/comm

@cstrotm

So yeah, it's 2019, someone fixed bugs in the linux kernel's *floppy driver*, and these are 3/5 of the changes:

"floppy: fix out-of-bounds read in copy_buffer
floppy: fix invalid pointer dereference in drive_name
floppy: fix out-of-bounds read in next_valid_format"

#RewriteItInRust #Rust #rustlang

@zalandocalrissian @cstrotm You'd have to ask Torvalds very nicely before you'd be able to rewrite a kernel module in Rust.

@trash @cstrotm

infoworld.com/article/3109150/

Torvalds's opinion on rust seems nuanced to me, which i think is a good thing. Much better than Theo de Raadt's:

marc.info/?l=openbsd-misc&m=15

which contains factual errors (there has been a rust coreutils project since before that mail was written*)

That said, if you just want to write modules without upstreaming them, apparently you can do that already:

github.com/alex/linux-kernel-m

* github.com/uutils/coreutils#ut

@zalandocalrissian @cstrotm Theo's an asshole. He's a stuck-up Unix purist who's upset that Linux is more popular than BSD. As for Torvalds answer, it doesn't say much of anything about Rust modules in current Linux. He doesn't seem like he'd accept it, but he's not opposed to it if the kernel were already written in Rust. I think he prefers careful C programming and doing things the right way.

@zalandocalrissian @cstrotm Ah, I suppose that means you’re volunteering to rewrite it in Rust. Nice!

@cstrotm Dumb question. Why the link to a github repo? Isn't development done exclusively on kernel.org?

@trash Not necessarily, and it was the one accessible to me. I was interested to get the message across, not in politics.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!