Has anyone started a project to rewrite `sudo` in Rust or some other memory-safe language? It seems like a prime candidate: very security sensitive, well-defined functionality and API, low total complexity.
Long time ago there was a project to rewrite Linux userspace in Ada, but it died due to lack of support.
Also there are userspace rewrites in Go and OCaml.
Could you point us at them?
Core utils in Rust: https://github.com/uutils/coreutils