sudo-rs
sudo-rs copied to clipboard
A memory safe implementation of sudo and su.
I've left that out of the current version -- in original sudo it's meant to showcase some syntax, but I feel that in sudo-rs we may want to show some...
This was done in https://github.com/sudo-project/sudo/commit/602a58e86a3562472499e339d40bed83e76109dc. Do we want to implement this too?
While sudo-rs correctly returns a non-zero exit code, sometimes on CI it seems like it fails to write the error message to stderr. I haven't been able to reproduce locally....
This function exists on Linux (since we updated to a newer libc) and FreeBSD. Maybe it's as easy as finding the right IOCTL, or maybe we need to do this...
The problem seems to be the fact that the built image including all layers is huge (~440MB). This is because building the docker container installs several big dependencies to build...
Whether or not this is a really useful feature is up for discussion.
This includes the "compliance-tests-og" and "e2e-tests".
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282539 https://github.com/trifectatechfoundation/sudo-rs/blob/33fd1c3c1842d499d6de9577dc470913ceef143b/test-framework/sudo-test/src/lib.rs#L288-L325
To be precise: - [ ] `fn starting_time` - [ ] `fn tty_device_id` These have wildly different implementations on Linux vs. FreeBSD, and likely they are different on MacOS as...
See the discussion at #892 This does require - using `RUSTFLAGS="-C debug-assertions -C overflow-checks`"` at the release side. - using the release Dockerfile to build "sudo under test". Or can...