this post was submitted on 06 Nov 2023
70 points (97.3% liked)

Rust

6128 readers
47 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
70
submitted 1 year ago* (last edited 1 year ago) by varsock to c/rust
 

The sudo-rs project improves on the security of the original sudo by:

  • Using a memory safe language (Rust), as it's estimated that one out of three security bugs in the original sudo have been memory management issues
  • Leaving out less commonly used features so as to reduce attack surface
  • Developing an extensive test suite which even managed to find bugs in the original sudo
top 1 comments
sorted by: hot top controversial new old
[–] onlinepersona 7 points 1 year ago

Nice... the code is readable and so are the tests. Good job.

I bet there are many linux utilities still left to rewrite in rust.