Commit graph

16582 commits

Author SHA1 Message Date
Sylvestre Ledru
efe0774265
Merge pull request #8639 from uutils/renovate/serde-monorepo
Some checks are pending
CICD / Code Coverage (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Style/cargo-deny (push) Waiting to run
CICD / Style/deps (push) Waiting to run
CICD / Build/SELinux (push) Blocked by required conditions
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Dependencies (push) Waiting to run
CICD / Build/nightly (push) Blocked by required conditions
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Separate Builds (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
WSL2 / Test (push) Waiting to run
chore(deps): update rust crate serde to v1.0.222
2025-09-14 22:19:14 +02:00
Sylvestre Ledru
8c31f39f8c
Merge pull request #8637 from maxfilov/main
cp: fix Ioctl casting for ppc64 (Closes: #8161)
2025-09-14 22:18:52 +02:00
Maksim Panfilov
666b3b3852 cp: fix Ioctl casting for ppc64 (Closes: #8161) 2025-09-14 21:15:09 +02:00
renovate[bot]
7eba726587
chore(deps): update rust crate serde to v1.0.222 2025-09-14 18:44:35 +00:00
Sylvestre Ledru
88622805b4
Merge pull request #8636 from cakebaker/uucore_checksum_use_error_variants
uucore/checksum: use `ChecksumError` variants
2025-09-14 20:42:59 +02:00
Daniel Hofstetter
919bfc512e uucore/checksum: use ChecksumError variants
instead of USimpleError
2025-09-14 17:42:22 +02:00
Daniel Hofstetter
aa42a02459
Merge pull request #8606 from sylvestre/expr-multibyte
Some checks are pending
Android / Test builds (push) Waiting to run
CICD / Style/cargo-deny (push) Waiting to run
CICD / Build (push) Blocked by required conditions
CICD / Style/deps (push) Waiting to run
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Dependencies (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Build/SELinux (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
WSL2 / Test (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
expr: fix some multibyte issues
2025-09-14 15:30:12 +02:00
Sylvestre Ledru
5e974797bd
Document the security process (#8633)
* Document the security process

Closes: #8553

* Update SECURITY.md

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* Update SECURITY.md

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-09-14 13:56:20 +02:00
Sylvestre Ledru
08299c0888
Merge pull request #8630 from yuankunzhang/date-display-file-mtime
date: use --reference=file to display the file modification time
2025-09-14 10:29:52 +02:00
Daniel Hofstetter
48d058fe37
Merge pull request #8635 from uutils/renovate/serde-monorepo
chore(deps): update rust crate serde to v1.0.221
2025-09-14 10:26:19 +02:00
renovate[bot]
141c7d61fd
chore(deps): update rust crate serde to v1.0.221 2025-09-14 01:40:48 +00:00
Sylvestre Ledru
091db2babc expr: fix some multibyte issues and refactor a bit
Should make tests/expr/expr-multibyte pass

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-09-14 01:12:57 +02:00
Sylvestre Ledru
7ca62d620e
Merge pull request #8631 from cakebaker/du_some_small_refactorings
Some checks are pending
CICD / Style/cargo-deny (push) Waiting to run
CICD / Style/deps (push) Waiting to run
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Dependencies (push) Waiting to run
CICD / Build/nightly (push) Blocked by required conditions
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
du: some small refactorings
2025-09-13 18:10:01 +02:00
Daniel Hofstetter
227a9a9a54
Merge pull request #8626 from sylvestre/traversal5
safe traversal: use the nix crate instead of unsafe calls to libc
2025-09-13 17:44:13 +02:00
Daniel Hofstetter
e76afc9bd3 du: simplify two if/else constructs 2025-09-13 17:08:16 +02:00
yuankunzhang
88a7fa7adf date: use --reference=file to display the file modification time 2025-09-13 22:23:33 +08:00
Daniel Hofstetter
d3af6fd529 du: remove condition with identical if/else blocks 2025-09-13 16:07:09 +02:00
Daniel Hofstetter
def1bb2b87 du: simplify signature of Stat::new_from_dirfd 2025-09-13 16:02:19 +02:00
yuankunzhang
bca02e45f2 date: consolidate date parsing logic
Removed the `parse_offset` function and rely on `parse_date` only.
2025-09-13 21:13:37 +08:00
Alen Antony
83574316e7
od: fix options after filename issue (#8624)
Some checks failed
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Dependencies (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Build/SELinux (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
CheckScripts / ShellScript/Check (push) Has been cancelled
CheckScripts / ShellScript/Format (push) Has been cancelled
* od: fix options after filename issue

* fix cspell issue
2025-09-12 17:37:13 +02:00
Sylvestre Ledru
ee462a585a safe traversal: add support for translations 2025-09-12 17:36:08 +02:00
Sylvestre Ledru
8fc888ebed safe traversal: use the nix crate instead of unsafe calls to libc 2025-09-12 17:36:08 +02:00
Sylvestre Ledru
2bb097ba7b
Merge pull request #8627 from cakebaker/uucore_safe_traversal_refactoring
uucore/safe_traversal: remove unnecessary vars
2025-09-12 17:29:08 +02:00
Daniel Hofstetter
38ab20b268 uucore/safe_traversal: remove unnecessary cfg 2025-09-12 16:56:24 +02:00
Daniel Hofstetter
6464355688 uucore/safe_traversal: remove unnecessary vars
and use into_owned() instead of to_string()
2025-09-12 16:42:54 +02:00
Daniel Hofstetter
61aec2c195 uucore/safe_traversal: adapt file header 2025-09-12 16:23:19 +02:00
Daniel Hofstetter
0c3f958896
Merge pull request #8517 from sylvestre/traversal2
Adjust rm & du to use safe traversal (openat, unlinkat, etc)
2025-09-12 16:09:02 +02:00
Sylvestre Ledru
a7a5126af5 Improve the tests 2025-09-12 14:23:03 +02:00
Sylvestre Ledru
3642d5e9c5 du: silent a gnu test as it can't happen on our side 2025-09-12 14:22:33 +02:00
Sylvestre Ledru
1183529cd2 rm: port to use the safe io functions 2025-09-12 14:22:33 +02:00
Sylvestre Ledru
c890a3479a du: port to use the safe io functions 2025-09-12 14:22:33 +02:00
Sylvestre Ledru
82d9371ed3 uucore: add linux function to manage safe traversal (openat, unlinkat, etc) 2025-09-12 12:08:19 +02:00
Daniel Hofstetter
c7b02d6bfa
Merge pull request #8623 from uutils/renovate/actions-checkout-5.x
Some checks failed
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Dependencies (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Build/SELinux (push) Blocked by required conditions
CheckScripts / ShellScript/Check (push) Waiting to run
CheckScripts / ShellScript/Format (push) Waiting to run
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
Check uudoc Documentation Generation / Verify uudoc generates correct documentation (push) Has been cancelled
chore(deps): update actions/checkout action to v5
2025-09-12 10:51:43 +02:00
renovate[bot]
00dc334621
chore(deps): update actions/checkout action to v5 2025-09-12 08:15:17 +00:00
Daniel Hofstetter
ac2fbabb54
Merge pull request #8610 from sylvestre/rm_uuhelp
Fix the doc generation and remove uuhelp_parser
2025-09-12 10:01:42 +02:00
Daniel Hofstetter
24550663b9
Merge pull request #8620 from dev-4hmad/grammar-fix
docs: minor grammar fix in packaging.md
2025-09-12 08:08:26 +02:00
Muhammad Ahmad
471dce5275 docs: minor grammar fix in packaging.md 2025-09-12 10:57:23 +05:00
Sylvestre Ledru
0f77a5be18
Merge pull request #8595 from Ecordonnier/eco/systemd_logind_arm
Some checks are pending
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Style/cargo-deny (push) Waiting to run
CICD / Style/deps (push) Waiting to run
CICD / Build (push) Blocked by required conditions
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Dependencies (push) Waiting to run
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/nightly (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Build/SELinux (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
systemd_logind: replace i8 with libc::c_char
2025-09-11 23:34:16 +02:00
Sylvestre Ledru
d08a32bca5
Merge pull request #8616 from uutils/renovate/zip-5.x-lockfile
chore(deps): update rust crate zip to v5.1.1
2025-09-11 23:32:49 +02:00
Sylvestre Ledru
28dde64d7e github action: add a check that uudoc works 2025-09-11 22:46:12 +02:00
Sylvestre Ledru
6cc245db01 Fix the doc generation and remove uuhelp_parser 2025-09-11 21:30:33 +02:00
renovate[bot]
debfa9e43e
chore(deps): update rust crate zip to v5.1.1 2025-09-11 19:08:48 +00:00
Sylvestre Ledru
a1884599f7
Merge pull request #8612 from cakebaker/bump_fts_sys
Some checks are pending
CICD / Test all features separately (push) Blocked by required conditions
CICD / Style/cargo-deny (push) Waiting to run
CICD / Style/deps (push) Waiting to run
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Dependencies (push) Waiting to run
CICD / Build/nightly (push) Blocked by required conditions
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Build/SELinux (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
Bump `fts-sys` and `selinux-sys`
2025-09-11 20:35:01 +02:00
Sylvestre Ledru
56b1dd445b
Merge pull request #8613 from cakebaker/bump_rustix
Bump `rustix` from `1.0.7` to `1.1.2`
2025-09-11 20:17:44 +02:00
Sylvestre Ledru
9e1ba2fefd
Merge pull request #8587 from ThePseudo/input_reuse_b64
Input reuse on base64
2025-09-11 20:17:02 +02:00
Daniel Hofstetter
c53b5dc26c deny.toml: remove linux-raw-sys from skip list 2025-09-11 16:01:12 +02:00
Daniel Hofstetter
b13dbaeb1f Bump rustix from 1.0.7 to 1.1.2 2025-09-11 15:57:31 +02:00
Daniel Hofstetter
3e68f95365 Bump fts-sys and selinux-sys
fts-sys from 0.2.16 to 0.2.17 and selinux-sys from 0.6.14 to 0.6.15
2025-09-11 15:27:30 +02:00
Daniel Hofstetter
d6d5e63459
Merge pull request #8609 from uutils/renovate/zip-5.x-lockfile
Some checks are pending
CICD / Style/deps (push) Waiting to run
CICD / Style/cargo-deny (push) Waiting to run
CICD / Documentation/warnings (push) Waiting to run
CICD / MinRustV (push) Waiting to run
CICD / Dependencies (push) Waiting to run
CICD / Build/nightly (push) Blocked by required conditions
CICD / Build/Makefile (push) Blocked by required conditions
CICD / Build/stable (push) Blocked by required conditions
CICD / Binary sizes (push) Blocked by required conditions
CICD / Build (push) Blocked by required conditions
CICD / Tests/BusyBox test suite (push) Blocked by required conditions
CICD / Tests/Toybox test suite (push) Blocked by required conditions
CICD / Code Coverage (push) Waiting to run
CICD / Separate Builds (push) Waiting to run
CICD / Test all features separately (push) Blocked by required conditions
CICD / Build/SELinux (push) Blocked by required conditions
GnuTests / Run GNU tests (native) (push) Waiting to run
GnuTests / Run GNU tests (SELinux) (push) Waiting to run
GnuTests / Aggregate GNU test results (push) Blocked by required conditions
Android / Test builds (push) Waiting to run
Code Quality / Style/toml (push) Waiting to run
Code Quality / Style/format (push) Waiting to run
Code Quality / Style/Python (push) Waiting to run
Code Quality / Style/lint (push) Waiting to run
Code Quality / Style/spelling (push) Waiting to run
Code Quality / Pre-commit hooks (push) Waiting to run
Devcontainer / Verify devcontainer (push) Waiting to run
FreeBSD / Style and Lint (push) Waiting to run
FreeBSD / Tests (push) Waiting to run
WSL2 / Test (push) Waiting to run
chore(deps): update rust crate zip to v5.1.0
2025-09-11 07:08:56 +02:00
renovate[bot]
61cab64209
chore(deps): update rust crate zip to v5.1.0 2025-09-10 20:14:10 +00:00