trifectatechfoundation / sudo-rs

A memory safe implementation of sudo and su.
Other
2.9k stars 79 forks source link

Fix `-f` tests for `visudo` #681

Closed pvdrz closed 1 year ago

pvdrz commented 1 year ago

Describe the changes done on this pull request This PR changes visudo so it passes all the compliance tests with the exception of the regular_user_cannot_update_a_file_they_dont_own because it deserves a deeper look.

Pull Request Checklist

github-actions[bot] commented 1 year ago

Number of dependencies and binary size impact report

Metric main PR #681 Delta
Direct dependencies 3 3 -
Total dependencies 4 4 -
Binary size 988.1 KiB 988 KiB -
Text size 576.5 KiB 576.6 KiB -
Dependencies diff ```diff └─ sudo-rs [v0.2.0-dev.20230703] ├─ glob [v0.3.1] ├─ libc [v0.2.147] └─ log [v0.4.19] ```