trifectatechfoundation / sudo-rs

A memory safe implementation of sudo and su.
Other
2.87k stars 76 forks source link

Fix high CPU usage #845

Closed squell closed 2 months ago

squell commented 2 months ago

NOTE: #843 should be merged before this one (and then this one rebased on the new main) to fix the clippy issues.

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 0% with 15 lines in your changes missing coverage. Please review.

Project coverage is 57.96%. Comparing base (865a7d3) to head (bdbf05c). Report is 16 commits behind head on main.

:exclamation: Current head bdbf05c differs from pull request most recent head 4e6e916

Please upload reports for the commit 4e6e916 to get more accurate results.

Files Patch % Lines
src/exec/use_pty/pipe/mod.rs 0.00% 15 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #845 +/- ## ========================================== + Coverage 57.48% 57.96% +0.47% ========================================== Files 75 75 Lines 10421 10140 -281 ========================================== - Hits 5991 5878 -113 + Misses 4430 4262 -168 ```

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