Bringing memory safety to sudo and su by rewriting them in Rust

The sudo and su utilities mediate a critical privilege boundary on just about every open source operating system that powers the Internet. Unfortunately, these utilities have a long history of memory safety issues.

By rewriting sudo and su in Rust we can make sure they don’t suffer from any more memory safety vulnerabilities. We’re going to get it done.

Like I said – Rust is everywhere. Of course, these specific rewrites are not necessarily going to be picked up by the various Linux distributions, but the fact people are starting projects like this means it won’t be long before we’re going to see core UNIX utilities rewritten in Rust making their way to our machines.

20 Comments

  1. 2023-05-06 1:35 am
    • 2023-05-06 2:41 am
      • 2023-05-06 6:25 am
        • 2023-05-06 7:53 am
          • 2023-05-06 8:25 am
    • 2023-05-06 7:06 am
      • 2023-05-06 11:40 am
        • 2023-05-06 12:48 pm
          • 2023-05-06 7:09 pm
          • 2023-05-06 9:51 pm
        • 2023-05-07 3:25 pm
  2. 2023-05-07 12:40 pm
    • 2023-05-07 10:42 pm
      • 2023-05-10 7:21 am
        • 2023-05-10 8:24 am
        • 2023-05-12 1:58 pm
  3. 2023-05-07 9:41 pm
    • 2023-05-08 1:15 am
    • 2023-05-08 4:14 am
    • 2023-05-08 5:22 pm