trifectatechfoundation / sudo-rs

A memory safe implementation of sudo and su.
Other
2.88k stars 77 forks source link

sudo: respect `--login` regardless of the presence of `--chdir` #794

Closed japaric closed 10 months ago

japaric commented 10 months ago

closes #793

codecov[bot] commented 10 months ago

Codecov Report

Attention: 13 lines in your changes are missing coverage. Please review.

Comparison is base (5cf4857) 55.38% compared to head (7c1c0ca) 55.34%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #794 +/- ## ========================================== - Coverage 55.38% 55.34% -0.04% ========================================== Files 72 72 Lines 9833 9831 -2 ========================================== - Hits 5446 5441 -5 - Misses 4387 4390 +3 ``` | [Files](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/794?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety) | Coverage Δ | | |---|---|---| | [src/common/command.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/794?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL2NvbW1vbi9jb21tYW5kLnJz) | `91.72% <100.00%> (-0.17%)` | :arrow_down: | | [src/exec/mod.rs](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/794?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety#diff-c3JjL2V4ZWMvbW9kLnJz) | `0.00% <0.00%> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/memorysafety/sudo-rs/pull/794/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=memorysafety)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.