big companies are using rust as an excuse to replace strict lisences like gpl with lisence they can get away with when they decide to be an asshole, so linux-rs would be another bsdeez 🙄🙄
Announcement
Collapse
No announcement yet.
sudo & su Being Rewritten In Rust For Memory Safety
Collapse
X
-
Originally posted by EvilHowl View PostIniciatives like will make people think that anything that is written in C or C++ is automatically memory unsafe and buggy and everything that is written in Rust is automatically memory safe and not buggy.
That will hurt Rust in the long run.
- Likes 14
Comment
-
Originally posted by bearoso View PostRewriting for memory safety is all and good, but look at the list of third-party dependencies. Are all those audited properly to be included in a binary that is setuid root?
Rust alone provides just one kind of safety. All these people are assuming it's some kind of magic bullet.
The ecosystem is convenient, but it's a major "leftpad" in their security.
Now the authors of the software pulling a malicious or vulnerable dependency could absolutely happen. Ideally they would audit every depency, but we all know that this is not done. On the positive side, there is the RustSec database of published vulnerabilities in published crates, and I think even npm has something similar nowadays.
Look at how stripped down rust is to be included in the Linux kernel. You have to give up a lot of the convenience for mission critical applications.
- Likes 19
Comment
-
Originally posted by meklu View Post
Not even that, we can run all code in kernel mode instead of user mode. Think of all the efficiency savings we get from eliminating mode switches!
- Likes 4
Comment
-
Originally posted by jarekZ View Post
initiatives like this are PR to get funding, first and foremost. As for real software, there's doas, for example. Just around 2k lines of code, i.e. almost no space to make CVE's - which is the real way to increase code security and reliability (unlike of RiiR)
- Likes 3
Comment
-
Originally posted by EvilHowl View Postinitiatives like will make people think that anything that is written in C or C++ is automatically memory unsafe and buggy and everything that is written in Rust is automatically memory safe and not buggy.
That will hurt Rust in the long run.
- Likes 7
Comment
-
Originally posted by archkde View Post
I agree that doas is likely better than this project. A RIIRed doas might be even better, but the security of doas is mostly already limited by PAM. So the takeaway is, RIIR PAM
- Likes 4
Comment
Comment