Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on programming.dev
rust·Rustbyvarsock

The First Stable Release of a Memory Safe sudo Implementation

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
The First Stable Release of a Memory Safe sudo Implementationhttps://www.memorysafety.org/blog/sudo-first-stable-release/Open linkView original on programming.dev
64

1 reply

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.

7

You reached the end