generated from erix/meta
WIP: Align capability layouts and staged authority contracts #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/lib-capabi!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
Select the original signed shared IPC framing while preserving capability registry and intake semantics.
The feature branch also carries the coordinated process-bound installation, endpoint attenuation, owned invocation, lifetime and staged mediator prerequisites.
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
Kernel operation 54 admits only actual Process endpoint holders and constructs a Created child with exactly one primary endpoint and no root capabilities. The native TCB retains address-space backing independently. The caller receives a unique install grant, an endpoint master and only an explicitly requested MAP-only VSpace receipt. The checked request distinguishes absence from a genuine slot-zero receipt. Former-root slots are usable; actual caller windows, native capacity, occupancy and child window scope remain enforced. Rollback disposes only successful new receipts and the partial child while preserving pre-existing bindings. Ordinary operation 32 remains unchanged. Initial inventory is not a seal or a permanent ban on later explicit installation.
Operation 53 separately narrows the primary endpoint through actual grant custody. A distinct constructor refusal cannot fall back to legacy flags or a child self-report. Current Procd and Launchd source retains actual staged construction and unique grant return rather than leaving adoption unimplemented.
factory authority roles distinguishes native Process, factory and member rights. Factory provisioning retains READ/WRITE/MINT/GRANT; recipient delivery removes GRANT, and genuine initial-result retirement removes the remaining narrow WRITE duty. Metadata and historical policy bytes cannot restore spent rights or select a newer slot occupant.
ordinary native thread birth and join and detach ownership implement source-level native creation and lifecycle ownership. 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. Whole-codebase semantic authority and private-item documentation closure remain incomplete.
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
This review remains WIP until its declared scope and dependent requirements are complete.
WIP: Enforce documentation in job-broker teststo WIP: Align lifetime IPC dependency and enforce test documentationerikinkinen referenced this pull request from erix/docs2026-09-14 10:13:48 +02:00
WIP: Align lifetime IPC dependency and enforce test documentationto WIP: Align owned invocation IPC and enforce test documentationWIP: Align owned invocation IPC and enforce test documentationto WIP: Align IPC contracts and enforce crate documentationWIP: Align IPC contracts and enforce crate documentationto WIP: Define native capability and mediator staging boundariesWIP: Define native capability and mediator staging boundariesto WIP: Align capability layouts and staged authority contractserikinkinen referenced this pull request from erix/posixd2026-09-30 21:20:30 +02:00
erikinkinen referenced this pull request from erix/coreutils2026-09-30 21:21:49 +02:00
erikinkinen referenced this pull request from erix/docs2026-09-30 21:22:01 +02:00
erikinkinen referenced this pull request from erix/e2fsd2026-09-30 21:22:09 +02:00
erikinkinen referenced this pull request from erix/exsh2026-09-30 21:22:10 +02:00
erikinkinen referenced this pull request from erix/extop2026-09-30 21:22:11 +02:00
erikinkinen referenced this pull request from erix/fatd2026-09-30 21:22:12 +02:00
erikinkinen referenced this pull request from erix/integration2026-09-30 21:22:17 +02:00
erikinkinen referenced this pull request from erix/launchd2026-09-30 21:22:22 +02:00
erikinkinen referenced this pull request from erix/lib-ipc2026-09-30 21:22:29 +02:00
erikinkinen referenced this pull request from erix/lib-posixabi2026-09-30 21:22:30 +02:00
erikinkinen referenced this pull request from erix/lib-stdio2026-09-30 21:22:32 +02:00
erikinkinen referenced this pull request from erix/loaderd2026-09-30 21:22:35 +02:00
erikinkinen referenced this pull request from erix/posixd2026-09-30 21:22:38 +02:00
erikinkinen referenced this pull request from erix/procd2026-09-30 21:22:39 +02:00
erikinkinen referenced this pull request from erix/ramfsd2026-09-30 21:22:40 +02:00
erikinkinen referenced this pull request from erix/rootd2026-09-30 21:22:41 +02:00
erikinkinen referenced this pull request from erix/timed2026-09-30 21:22:42 +02:00
erikinkinen referenced this pull request from erix/ttyd2026-09-30 21:22:42 +02:00
erikinkinen referenced this pull request from erix/vfsd2026-09-30 21:22:43 +02:00
The capability ABI now pins LibIPC
61b43723in 1cbb0db9. This is part of the Vfsd dependency repair; the existing interfaces are unchanged, and Integration consumer adoption is in progress.Native startup now checks lifecycle independently: require exactly SEND when declared and prove the slot absent otherwise. See optional lifecycle authority for the coordinated contract and remaining consumer migration.
Replaced by #6, #7, #8, #9, #10, #11, #12, #13, #14, #15, #16, #17. These changes cover the original source in separate features, with formatting and library-export placement corrected. Closing this combined PR without merging it; the original branch is retained.
Pull request closed