News for hackers. Stuff that matters.
Re:Greg K-H: "Writing new code in Rust is a win for all of us" by sanxiyn on Friday February 21, 2025 @01:09AM (#43124507)
If so kernel is released with broken Rust. That is the policy, and I am flabbergasted why everyone is going "that policy must not be literal".
Re:Greg K-H: "Writing new code in Rust is a win for all of us" by Tomte on Friday February 21, 2025 @01:14AM (#43124532)
Because if in a few years I have a device whose driver is written in Rust, a new kernel version might have simply dropped or broken my device driver, and I cannot use my device anymore. But sure, if R4L wants to stay a second-class citizen forever, it can still be acceptable.
Re:Greg K-H: "Writing new code in Rust is a win for all of us" by adgjlsfhk1 on Friday February 21, 2025 @01:48AM (#43124741)
this isn't policy forever. it's policy for now. if r4l succeeds, the policy will change.
Re:Greg K-H: "Writing new code in Rust is a win for all of us" by mschuster91 on Friday February 21, 2025 @03:14AM (#43125260)
> Because if in a few years I have a device whose driver is written in Rust, a new kernel version might have simply dropped or broken my device driver, and I cannot use my device anymore.

At least for Debian, all you need to do if you hit such a case is to simply go and choose the old kernel in the Grub screen. You don't even need to deal with installing an older package and dealing with version conflicts or other pains of downgrading.

Re:Greg K-H: "Writing new code in Rust is a win for all of us" by account42 on Friday February 21, 2025 @05:50AM (#43126157)
I hope you're not seriously suggesting this as a reasonable workflow.
Re:Greg K-H: "Writing new code in Rust is a win for all of us" by mschuster91 on Friday February 21, 2025 @06:05AM (#43126245)
For my server or laptop at home, sure. Why not. For servers in commercial fleets you should have staged rollouts as a policy anyway so if you do it right you shouldn't get hit.
Re:Greg K-H: "Writing new code in Rust is a win for all of us" by darthrupert on Friday February 21, 2025 @04:46AM (#43125765)
Distros should be your firewall against that sort of thing. Just don't use a distro with a non-existent kernel upgrade process.
Re:Greg K-H: "Writing new code in Rust is a win for all of us" by prmoustache on Friday February 21, 2025 @06:44AM (#43126444)
It is only a problem if you compile the kernel directly from the source tree instead of using the packages provided by your Linux distribution.