fix: Separate dynamic metadata by mapping permissions #349

Open
erikinkinen wants to merge 5 commits from feature/dynamic-metadata-page-permissions into feature/shared-compiler-coordinates
Owner

Byte-disjoint ELF segments can share a mapping page with different permissions. Kernel, Rootd and service links now place generated read-only and writable metadata on separate pages, and packaging rejects conflicting LOAD permissions.

Both cache-key modes include the same-cohort layout bytes. The component entry and base address remain unchanged; loader and native mapping ownership remain independently required.

Builds on #345.

Byte-disjoint ELF segments can share a mapping page with different permissions. Kernel, Rootd and service links now place generated read-only and writable metadata on separate pages, and packaging rejects conflicting LOAD permissions. Both cache-key modes include the same-cohort layout bytes. The component entry and base address remain unchanged; loader and native mapping ownership remain independently required. Builds on [#345](https://git.erikinkinen.fi/erix/integration/pulls/345).
erikinkinen added this to the Alpha 1 milestone 2026-11-05 23:12:07 +01:00
fix: Separate generated dynamic metadata page permissions
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / rust (push) Successful in 2m23s
CI / host_zero (push) Failing after 13m23s
CI / host_one (push) Successful in 16m52s
CI / integration (push) Has been skipped
399eb65039
Place read-only and writable dynamic tables on distinct mapping pages without changing the component entry or base address. Reject conflicting LOAD permissions before packaging and bind both outer cache-key paths to the selected linker layout.
ci: Install the native linker fixture compiler
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 5s
CI / rust (push) Successful in 2m36s
CI / host_zero (push) Successful in 20m0s
CI / host_one (push) Failing after 21m50s
CI / integration (push) Has been skipped
0822f4bf16
Declare Clang alongside the linker tools used by host fixtures. Preserve the ordered Boot and source-closure syntax checks and register both metadata-layout controls.
test: Reset every initial shell fixture selector
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 11s
CI / rust (push) Successful in 6m3s
CI / host_one (push) Failing after 6m19s
CI / host_zero (push) Successful in 21m46s
CI / integration (push) Has been skipped
25df075f1d
Clear independent realm, heap, thread and Boot selections between policy cases. Keep all existing positive combinations and exact negative diagnostics.

Refs: #361
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / integration (push) Has been cancelled
CI / markdown (push) Has been cancelled
5ab26a343f
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 11s
CI / rust (push) Failing after 53s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
4032ac0ce1
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 11s
CI / rust (push) Failing after 53s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/dynamic-metadata-page-permissions:feature/dynamic-metadata-page-permissions'
git switch 'feature/dynamic-metadata-page-permissions'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/shared-compiler-coordinates'
git merge --no-ff 'feature/dynamic-metadata-page-permissions'
git switch 'feature/dynamic-metadata-page-permissions'
git rebase 'feature/shared-compiler-coordinates'
git switch 'feature/shared-compiler-coordinates'
git merge --ff-only 'feature/dynamic-metadata-page-permissions'
git switch 'feature/dynamic-metadata-page-permissions'
git rebase 'feature/shared-compiler-coordinates'
git switch 'feature/shared-compiler-coordinates'
git merge --no-ff 'feature/dynamic-metadata-page-permissions'
git switch 'feature/shared-compiler-coordinates'
git merge --squash 'feature/dynamic-metadata-page-permissions'
git switch 'feature/shared-compiler-coordinates'
git merge --ff-only 'feature/dynamic-metadata-page-permissions'
git switch 'feature/shared-compiler-coordinates'
git merge 'feature/dynamic-metadata-page-permissions'
git push origin 'feature/shared-compiler-coordinates'
Sign in to join this conversation.
No description provided.