Skip to content

Revitalize - #41

Merged
darfink merged 18 commits into
masterfrom
revitalize
Aug 7, 2026
Merged

Revitalize#41
darfink merged 18 commits into
masterfrom
revitalize

Conversation

@darfink

@darfink darfink commented Aug 7, 2026

Copy link
Copy Markdown
Owner

No description provided.

darfink and others added 18 commits August 7, 2026 12:49
Update Protection flag helpers for bitflags 2, retaining compatibility for non-standard Unix protection bits.

Inspired by #36 and #25.

Co-authored-by: Noa <coolreader18@gmail.com>

Co-authored-by: Levi Morrison <levi.morrison@datadoghq.com>
Accept windows-sys 0.52..=0.61 and cache SYSTEM_INFO with OnceLock.

Inspired by #38.

Co-authored-by: Colin Finck <colin@osdyne.com>
Use MEM_RESERVE for Protection::NONE allocations so large address-space reservations remain practical, with a regression test.

Inspired by #34.

Co-authored-by: Mrmaxmeier <Mrmaxmeier@gmail.com>
Add a Redox backend for allocation/protection/locking paths. Region querying is not available yet and returns UnmappedRegion.

Inspired by #37.

Co-authored-by: Wildan M <willnode@wellosoft.net>
Reuse the Linux /proc/self/maps query backend on GNU/Hurd.

Inspired by #40.

Co-authored-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reindent Errors sections so rustdoc/clippy stay quiet on modern toolchains.

Inspired by #32.

Co-authored-by: Mrmaxmeier <Mrmaxmeier@gmail.com>
Move to edition 2024 / MSRV 1.85, make the crate no_std with an optional std feature, rename alloc.rs to allocation.rs, and update Error / locking / provenance handling accordingly.
Refresh Unix/Windows backends for strict provenance, Hurd/Redox integration points, and Windows NONE-reservation behavior.
Replace unmaintained actions-rs usage, add an MSRV 1.85 job, and include Redox/Hurd in the check matrix alongside refreshed BSD/macOS runners.
Update README and changelog for the major release, optional std feature, and Hurd/Redox support notes.
Import ToString for no_std Linux procfs parsing, use Android's __errno accessor, switch Windows system-info caching to OnceLock, bump cross-platform-actions to supported BSD image versions, and drop the Hurd check job until rust-std is downloadable via rustup.
Replace core::OnceLock with core::sync::Once for Windows system-info caching,
use the platform-correct errno accessors, and install i686 multilib packages
so native Linux 32-bit tests can link.
Replace core::sync::Once (unavailable in no_std) with an atomic SYSTEM_INFO cache, silence Clippy on Linux CStr/protect casts, relax the aarch64 protect base assertion, and move Android from cross-test to cargo check.
Avoid taking the address of a temporary fn-item and relax the
protect_with_handle region-base assertion for platforms that merge pages.
Drop exact region-base equality after protect_with_handle, and retain more
buffer allocations so query helpers are less likely to remap freed pages.
OpenBSD can split a small stack range across multiple regions, and NetBSD's
kinfo_getvmmap path may mmap into a just-freed page during query.
…ange doctest

NetBSD's query path can rematerialize mappings during inspection, and OpenBSD
may report stack data across multiple regions.
Move BSD jobs to CPA's cpa.sh shell, bump checkout to v6 across
workflows, and restore Hurd compile coverage via nightly build-std.
@darfink
darfink merged commit 7d1452d into master Aug 7, 2026
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant