1463 Commits

Author SHA1 Message Date
renovate[bot] 69607489b0 chore(deps): update rust crate jiff to v0.2.22 2026-03-01 10:44:59 +01:00
renovate[bot] 4ebf73c712 chore(deps): update rust crate tempfile to v3.26.0 2026-02-24 10:30:17 +01:00
renovate[bot] f8435d3417 chore(deps): update rust crate chrono to v0.4.44 2026-02-23 16:30:51 +01:00
renovate[bot] e429ab83c1 chore(deps): update rust crate rustix to v1.1.4 2026-02-23 07:25:04 +01:00
renovate[bot] 52526af81e chore(deps): update rust crate jiff to v0.2.21 2026-02-23 07:18:10 +01:00
oech3 b12fd5f32d ci: make codcov reproducible 2026-02-20 15:09:13 +01:00
renovate[bot] 5114310769 chore(deps): update rust crate clap to v4.5.60 2026-02-20 07:09:46 +01:00
renovate[bot] ad3e29a72a chore(deps): update rust crate clap to v4.5.59 2026-02-17 07:07:03 +01:00
renovate[bot] 99e14213d5 chore(deps): update rust crate sysinfo to v0.38.2 2026-02-15 17:47:01 +01:00
Sylvestre Ledru 7b8e95528b Merge pull request #633 from sylvestre/cov
Fix the coverage
2026-02-15 12:09:27 +01:00
Sylvestre Ledru 713453bf2e Merge pull request #632 from Franklin-Qi/remove-libc-in-pkill
pkill: remove libc in pkill
2026-02-15 11:25:36 +01:00
Sylvestre Ledru 6ac0e01c9d Fix the coverage 2026-02-15 11:20:55 +01:00
Krysztal Huang 8983665988 Merge pull request #626 from Franklin-Qi/remove-libc-in-pgrep
pgrep: remove libc in pgrep
2026-02-15 18:10:59 +08:00
yushuoqi c6990af85b pkill: remove libc in pkill
Use Rustix to replace Nix function calls, such as kill_process.
2026-02-15 11:34:36 +08:00
yushuoqi f4d9c07694 pgrep: remove libc in pgrep
Use rustix instead of libc and unsafe functions such as getpgrp, getsid, flock, gettid, getppid, getpgid, and getsid.
2026-02-15 10:14:18 +08:00
Tony Bajan 6d9c3d8759 top: Switch some uses of libc to rustix
Use rustix instead libc to provide getpriority,
setpriorty and page size calls.

Part of #599
2026-02-13 09:48:59 +01:00
renovate[bot] c06c849cb5 chore(deps): update rust crate clap_complete to v4.5.66 2026-02-12 07:10:36 +01:00
renovate[bot] db2be58e5d chore(deps): update rust crate clap to v4.5.58 2026-02-12 07:10:18 +01:00
renovate[bot] 98f00245ce chore(deps): update rust crate jiff to v0.2.20 2026-02-12 07:07:51 +01:00
Krysztal Huang 80dd51dc35 Merge pull request #624 from cakebaker/bump_rand
Bump `rand` from `0.9.0` to `0.10.0`
2026-02-10 17:05:32 +08:00
Krysztal Huang fd9b8be6eb Merge pull request #625 from Franklin-Qi/remove-libc-in-ps
ps: remove libc in ps
2026-02-10 17:01:28 +08:00
renovate[bot] acbc38544e chore(deps): update rust crate tempfile to v3.25.0 2026-02-10 07:17:49 +01:00
yushuoqi 673d322faa ps: remove libc in ps
Handling unsafe uucore::libc::getsid functions with Rustix
2026-02-10 14:02:53 +08:00
Franklin-Qi 64be323ce8 pgrep: The pattern is too long (more than 15 characters) and should be able to match pid correctly. (#617)
* pgrep: The pattern is too long (more than 15 characters) and should be able to match pid correctly.

The PIDs should be obtained in advance. If the PIDs exist, it means the pattern matches, and there should be no length error.

* Placing length error messages in subsequent  could avoid performance penalties.
2026-02-09 09:41:24 +01:00
Tony Bajan 40c3a11417 snice: Switch from libc to rustix (#621)
* snice: Switch from libc to rustix

Use rustix instead of libc to provide getpriority and
setpriority syscalls.

Resolves #598

* Fix build on Windows
2026-02-09 09:20:31 +01:00