WIP: Authenticate scoped loading and expanded realm geometry #2
No reviewers
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/loaderd!2
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/posix-compat"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary and rationale
Preserve authenticated executable staging and capability custody while sizing realm storage from the original target layout. Carry counted execution, invocation and readiness geometry, immutable TLS inputs and exact-width relocation records through materialization.
Tracking and scope
The linked component audit, implementation and consumer requirements remain part of this WIP review. The phase-wide guest and toolchain build requirements stay with the phase completion issue.
Architecture, authority and failure behavior
The immutable target layout supplies actual row sizes and alignments for counted execution storage. Checked geometry determines allocation and retained request/result regions before staging; explicit capacity replaces local hidden limits. Original executable, digest, mapping and grant observations remain separate admission requirements.
Materialization validates complete counted relocation records before exposing them to the writer. Original TLS templates and graph membership describe data; they grant no mapping, installation or execution authority. The native stage grant remains uniquely owned through Loaderd and Launchd. Client factory construction and publication follow client factory custody; a successful loader plan cannot substitute for actual native custody, receiver readiness or start acknowledgment.
Failures retain successful partial mappings, grant custody and exact cleanup state instead of selecting a fallback process route or replaying accepted publication. Stale generations and changed original sources refuse before a new occupant can be used.
Complete source and frame admission, imported libc and dynamic ELF TLS consumers, and the signed native/VM workload remain open. The full EriX guest builds and external Rust/LLVM rebuild inside EriX remain phase requirements.
Validation evidence
Formatting, strict Clippy, warning-denied builds and documentation, unit tests, and applicable native/VM and consumer regressions remain required for the declared scope. Authored controls and older successful runs do not establish current full acceptance.
Review checklist
Strict Clippy, warning-denied builds/tests and supported configurations
Unit and relevant native VM execution
Documentation rendering and performance execution
Original source implementation and inline ownership documentation
Updated independent controls and affected documentation sources
Complete declared feature scope and required execution
This review remains WIP until its declared scope and dependent requirements are complete.
WIP: Stage realm mediators through exact executable preparationto WIP: Enforce native RELRO and stage exact realm mediatorsWIP: Enforce native RELRO and stage exact realm mediatorsto WIP: Bind realm images and retain original cleanup custodyerikinkinen referenced this pull request from erix/docs2026-09-29 18:25:23 +02:00
erikinkinen referenced this pull request from erix/exsh2026-09-29 18:26:25 +02:00
erikinkinen referenced this pull request from erix/integration2026-09-29 18:27:07 +02:00
erikinkinen referenced this pull request from erix/launchd2026-09-29 18:27:27 +02:00
erikinkinen referenced this pull request from erix/lib-ipc2026-09-29 18:27:33 +02:00
erikinkinen referenced this pull request from erix/lib-posixabi2026-09-29 18:27:36 +02:00
erikinkinen referenced this pull request from erix/posixd2026-09-29 18:27:43 +02:00
erikinkinen referenced this pull request from erix/procd2026-09-29 18:27:45 +02:00
erikinkinen referenced this pull request from erix/rootd2026-09-29 18:27:47 +02:00
erikinkinen referenced this pull request from erix/vfsd2026-10-01 20:20:16 +02:00
erikinkinen referenced this pull request from erix/vfsd2026-10-01 20:20:19 +02:00
erikinkinen referenced this pull request from erix/docs2026-10-01 20:20:19 +02:00
erikinkinen referenced this pull request from erix/integration2026-10-01 20:20:20 +02:00
erikinkinen referenced this pull request from erix/posixd2026-10-01 20:20:21 +02:00
erikinkinen referenced this pull request from erix/lib-ipc2026-10-01 20:20:21 +02:00
erikinkinen referenced this pull request from erix/ramfsd2026-10-01 20:20:22 +02:00
erikinkinen referenced this pull request from erix/e2fsd2026-10-01 20:20:22 +02:00
erikinkinen referenced this pull request from erix/fatd2026-10-01 20:20:23 +02:00
erikinkinen referenced this pull request from erix/exsh2026-10-01 20:20:24 +02:00
erikinkinen referenced this pull request from erix/coreutils2026-10-01 20:20:24 +02:00
erikinkinen referenced this pull request from erix/launchd2026-10-01 20:20:28 +02:00
erikinkinen referenced this pull request from erix/docs2026-10-02 23:37:38 +02:00
erikinkinen referenced this pull request from erix/exsh2026-10-02 23:38:09 +02:00
erikinkinen referenced this pull request from erix/integration2026-10-02 23:38:14 +02:00
erikinkinen referenced this pull request from erix/lib-ipc2026-10-02 23:38:28 +02:00
WIP: Bind realm images and retain original cleanup custodyto WIP: Authenticate scoped loading and expanded realm geometryerikinkinen referenced this pull request from erix/posixd2026-10-02 23:38:40 +02:00
Published
06dd7cbb: ordinary discovery and dependency reads now use an owned namespace lease and candidates. Loaderd retains the original buffers and native owners through errors and requires positive settlement before publishing bytes. Authenticated staged executable reads keep their exact endpoint path. The coordinated Integration adoption remains open in LibIPC #12.This source is now split into feature PRs, starting at #9 and ending at #28. Each PR links its prerequisite. The complete stack preserves the runtime changes and dependency declarations; obsolete pin checkpoints and documented source-acquisition differences are separated from feature behavior.
Closing this aggregate without merging. The replacement PRs remain WIP for their remaining integration and review.
Pull request closed