The First Stable Release of a Memory Safe sudo Implementation (www.memorysafety.org)
from varsock@programming.dev to rust@programming.dev on 06 Nov 2023 13:30
https://programming.dev/post/5488339

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

#rust

threaded - newest

onlinepersona@programming.dev on 06 Nov 2023 19:06 collapse

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.