trifectatechfoundation / sudo-rs

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

Move `env_editor` logic to `sudoers` #702

Closed pvdrz closed 1 year ago

pvdrz commented 1 year ago

cc @squell

github-actions[bot] commented 1 year ago

Number of dependencies and binary size impact report

Metric main PR #702 Delta
Direct dependencies 3 3 -
Total dependencies 4 4 -
Binary size 996.7 KiB 996.7 KiB -
Text size 580 KiB 580 KiB -
Dependencies diff ```diff └─ sudo-rs [v0.2.0-dev.20230711] ├─ glob [v0.3.1] ├─ libc [v0.2.147] └─ log [v0.4.19] ```
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: -0.02 :warning:

Comparison is base (8f10ef5) 57.37% compared to head (391849f) 57.36%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #702 +/- ## ========================================== - Coverage 57.37% 57.36% -0.02% ========================================== Files 68 68 Lines 9091 9093 +2 ========================================== Hits 5216 5216 - Misses 3875 3877 +2 ``` | [Impacted Files](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/702?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety) | Coverage Δ | | |---|---|---| | [src/sudoers/mod.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/702?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL3N1ZG9lcnMvbW9kLnJz) | `86.85% <0.00%> (-1.72%)` | :arrow_down: | | [src/system/mod.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/702?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL3N5c3RlbS9tb2QucnM=) | `81.80% <0.00%> (-0.73%)` | :arrow_down: | | [src/visudo/mod.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/702?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL3Zpc3Vkby9tb2QucnM=) | `0.00% <0.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.