So I debugged the old sudo and sudo-rs and saw that sudo-rs was not doing the same as the code in the old sudo. It was not checking if the euid != To root uid before checking for the no new priv flag. So here's a debdiff to fix that. I've tested this fix in my machine and it works.
** Patch added: "changes.debdiff" https://bugs.launchpad.net/ubuntu/+source/rust-sudo-rs/+bug/2150695/+attachment/5968409/+files/changes.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2150695 Title: sudo-rs won't allow root in proot in Termux in Android To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rust-sudo-rs/+bug/2150695/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
