WIP: Implement retained Ext mutations and socket lifetime #3
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/e2fsd!3
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
Implement conditional filesystem, namespace, metadata and permission operations within original media custody, transactions and inode lifetimes. Socket creation shares the leaf transaction and inherited ACLs without file-payload flags. Fresh socket admission consumes and refreshes the complete original permission fingerprint, including on read-only media, without mutation.
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
Actual native scope and original branch custody precede admission. The socket's provider pin is retained independently from its descriptive identity. Binding accepts only original created custody; Connect requires a fresh socket and complete original permission comparison after compatibility DAC. VFS requires the native write ceiling, while read-only media alone does not forbid communication. Namespace creation retains writable-parent and mount gates.
Failed or uncertain provider replies retain original-key cleanup, export no identity and permit no replay. Success grants no file-content admission. RAM compares current revision, Ext consumes and refreshes the original permission fingerprint, and FAT refuses unsupported socket objects without disk I/O. No new endpoint, grant, hidden allocation or unsafe code is introduced.
VFS operation 0x71F uses exact 32/56-byte request/result bodies. Private operation 0x720 uses a 24-byte request and the existing exact 12-byte status. Existing file admission is unchanged. Identity comparison is meaningful only beside independently admitted live native pins in the same realm; copied bytes never choose a route or grant communication.
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
Markdown/link/manual generation and performance execution
Original source implementation and inline ownership documentation
Cohesive code files below 1,000 lines and preserved missing-docs gates
Relevant component contracts and technical manual sources updated
Accurate distinction between source progress and execution evidence
Complete scoped socket and imported-tool requirements
Full EriX and external toolchain guest rebuild demonstrations
This review remains WIP until its declared scope and dependent requirements are complete.
WIP: Validate quota media and correct standalone service linkingto WIP: Validate filesystem media and explicit build inputsWIP: Validate filesystem media and explicit build inputsto WIP: Preserve ext provider identities and filesystem contractserikinkinen referenced this pull request from erix/fatd2026-09-29 09:18:31 +02:00
erikinkinen referenced this pull request from erix/ramfsd2026-09-29 09:18:31 +02:00
erikinkinen referenced this pull request from erix/docs2026-09-29 09:18:32 +02:00
erikinkinen referenced this pull request from erix/integration2026-09-29 09:18:34 +02:00
WIP: Preserve ext provider identities and filesystem contractsto WIP: Preserve ext provider identities and metadataWIP: Preserve ext provider identities and metadatato WIP: Add checked ext permission snapshots and preserve metadataWIP: Add checked ext permission snapshots and preserve metadatato WIP: Add retained ext permission evidence and complete local ACL transporterikinkinen referenced this pull request from erix/lib-ipc2026-09-29 10:51:27 +02:00
erikinkinen referenced this pull request from erix/lib-posixabi2026-09-29 10:51:28 +02:00
erikinkinen referenced this pull request from erix/docs2026-09-29 14:17:05 +02:00
erikinkinen referenced this pull request from erix/integration2026-09-29 14:17:06 +02:00
erikinkinen referenced this pull request from erix/rootd2026-09-29 15:37:16 +02:00
WIP: Add retained ext permission evidence and complete local ACL transportto WIP: Retain ext permissions and original acquisition ownershiperikinkinen referenced this pull request from erix/posixd2026-09-30 14:16:02 +02:00
erikinkinen referenced this pull request from erix/posixd2026-09-30 14:16:03 +02:00
erikinkinen referenced this pull request from erix/lib-ipc2026-09-30 14:16:03 +02:00
erikinkinen referenced this pull request from erix/blockd2026-09-30 14:16:04 +02:00
erikinkinen referenced this pull request from erix/coreutils2026-09-30 14:16:05 +02:00
erikinkinen referenced this pull request from erix/crashd2026-09-30 14:16:05 +02:00
erikinkinen referenced this pull request from erix/deviced2026-09-30 14:16:05 +02:00
erikinkinen referenced this pull request from erix/docs2026-09-30 14:16:06 +02:00
erikinkinen referenced this pull request from erix/drv-acpi2026-09-30 14:16:07 +02:00
erikinkinen referenced this pull request from erix/drv-i80422026-09-30 14:16:07 +02:00
erikinkinen referenced this pull request from erix/drv-ps2-keyboard2026-09-30 14:16:08 +02:00
erikinkinen referenced this pull request from erix/drv-ps2-mouse2026-09-30 14:16:08 +02:00
erikinkinen referenced this pull request from erix/drv-rtc-cmos2026-09-30 14:16:09 +02:00
erikinkinen referenced this pull request from erix/drv-serial2026-09-30 14:16:10 +02:00
erikinkinen referenced this pull request from erix/drv-virtio-block2026-09-30 14:16:12 +02:00
erikinkinen referenced this pull request from erix/dynlinkd2026-09-30 14:16:12 +02:00
WIP: Retain ext permissions and original acquisition ownershipto WIP: Preserve ext filesystem custody and signed metadataerikinkinen referenced this pull request from erix/exsh2026-09-30 14:16:14 +02:00
erikinkinen referenced this pull request from erix/extop2026-09-30 14:16:15 +02:00
erikinkinen referenced this pull request from erix/fatd2026-09-30 14:16:15 +02:00
erikinkinen referenced this pull request from erix/fbcond2026-09-30 14:16:16 +02:00
erikinkinen referenced this pull request from erix/hotplugd2026-09-30 14:16:17 +02:00
erikinkinen referenced this pull request from erix/inputd2026-09-30 14:16:18 +02:00
erikinkinen referenced this pull request from erix/integration2026-09-30 14:16:19 +02:00
erikinkinen referenced this pull request from erix/irqd2026-09-30 14:16:20 +02:00
erikinkinen referenced this pull request from erix/kernel2026-09-30 14:16:20 +02:00
erikinkinen referenced this pull request from erix/keyd2026-09-30 14:16:21 +02:00
erikinkinen referenced this pull request from erix/launchd2026-09-30 14:16:22 +02:00
erikinkinen referenced this pull request from erix/lib-block2026-09-30 14:16:22 +02:00
erikinkinen referenced this pull request from erix/lib-bootstrap2026-09-30 14:16:22 +02:00
erikinkinen referenced this pull request from erix/lib-capabi2026-09-30 14:16:23 +02:00
erikinkinen referenced this pull request from erix/lib-driver2026-09-30 14:16:23 +02:00
erikinkinen referenced this pull request from erix/lib-input2026-09-30 14:16:23 +02:00
erikinkinen referenced this pull request from erix/lib-interrupt2026-09-30 14:16:24 +02:00
erikinkinen referenced this pull request from erix/lib-log2026-09-30 14:16:25 +02:00
erikinkinen referenced this pull request from erix/lib-service2026-09-30 14:16:26 +02:00
erikinkinen referenced this pull request from erix/lib-stdio2026-09-30 14:16:26 +02:00
erikinkinen referenced this pull request from erix/lib-time2026-09-30 14:16:27 +02:00
erikinkinen referenced this pull request from erix/lib-tty2026-09-30 14:16:27 +02:00
erikinkinen referenced this pull request from erix/lib-vfs2026-09-30 14:16:27 +02:00
erikinkinen referenced this pull request from erix/loaderd2026-09-30 14:16:28 +02:00
erikinkinen referenced this pull request from erix/logd2026-09-30 14:16:28 +02:00
erikinkinen referenced this pull request from erix/memd2026-09-30 14:16:28 +02:00
erikinkinen referenced this pull request from erix/named2026-09-30 14:16:29 +02:00
erikinkinen referenced this pull request from erix/pagerd2026-09-30 14:16:29 +02:00
erikinkinen referenced this pull request from erix/posixd2026-09-30 14:16:30 +02:00
erikinkinen referenced this pull request from erix/powerboxd2026-09-30 14:16:30 +02:00
erikinkinen referenced this pull request from erix/probed2026-09-30 14:16:30 +02:00
erikinkinen referenced this pull request from erix/procd2026-09-30 14:16:31 +02:00
erikinkinen referenced this pull request from erix/rootd2026-09-30 14:16:32 +02:00
erikinkinen referenced this pull request from erix/seriald2026-09-30 14:16:32 +02:00
erikinkinen referenced this pull request from erix/timed2026-09-30 14:16:33 +02:00
erikinkinen referenced this pull request from erix/ttyd2026-09-30 14:16:33 +02:00
erikinkinen referenced this pull request from erix/vfsd2026-09-30 14:16:34 +02:00
erikinkinen referenced this pull request from erix/vspaced2026-09-30 14:16:34 +02:00
WIP: Preserve ext filesystem custody and signed metadatato WIP: Preserve ext custody, metadata and directory positionserikinkinen referenced this pull request from erix/posixd2026-09-30 17:11:26 +02:00
erikinkinen referenced this pull request from erix/lib-posixabi2026-09-30 17:11:40 +02:00
erikinkinen referenced this pull request from erix/coreutils2026-09-30 17:11:55 +02:00
erikinkinen referenced this pull request from erix/docs2026-09-30 17:12:05 +02:00
erikinkinen referenced this pull request from erix/exsh2026-09-30 17:12:34 +02:00
erikinkinen referenced this pull request from erix/extop2026-09-30 17:12:35 +02:00
erikinkinen referenced this pull request from erix/fatd2026-09-30 17:12:35 +02:00
erikinkinen referenced this pull request from erix/integration2026-09-30 17:12:38 +02:00
erikinkinen referenced this pull request from erix/launchd2026-09-30 17:12:41 +02:00
erikinkinen referenced this pull request from erix/lib-stdio2026-09-30 17:12:46 +02:00
erikinkinen referenced this pull request from erix/loaderd2026-09-30 17:12:47 +02:00
erikinkinen referenced this pull request from erix/posixd2026-09-30 17:12:51 +02:00
erikinkinen referenced this pull request from erix/procd2026-09-30 17:12:52 +02:00
erikinkinen referenced this pull request from erix/rootd2026-09-30 17:12:53 +02:00
erikinkinen referenced this pull request from erix/timed2026-09-30 17:12:54 +02:00
erikinkinen referenced this pull request from erix/ttyd2026-09-30 17:12:54 +02:00
erikinkinen referenced this pull request from erix/vfsd2026-09-30 17:12:55 +02:00
erikinkinen referenced this pull request from erix/docs2026-10-01 02:02:46 +02:00
WIP: Preserve ext custody, metadata and directory positionsto WIP: Preserve original ext metadata and entry lifetimeerikinkinen referenced this pull request from erix/posixd2026-10-01 02:02:48 +02:00
erikinkinen referenced this pull request from erix/integration2026-10-01 02:02:48 +02:00
erikinkinen referenced this pull request from erix/docs2026-10-01 04:14:09 +02:00
WIP: Preserve original ext metadata and entry lifetimeto WIP: Implement original ext custody and conditional operation boundarieserikinkinen referenced this pull request from erix/posixd2026-10-01 04:14:47 +02:00
erikinkinen referenced this pull request from erix/docs2026-10-01 06:11:29 +02:00
erikinkinen referenced this pull request from erix/integration2026-10-01 06:11:29 +02:00
erikinkinen referenced this pull request from erix/vfsd2026-10-01 23:44:52 +02:00
erikinkinen referenced this pull request from erix/vfsd2026-10-02 00:31:47 +02:00
erikinkinen referenced this pull request from erix/vfsd2026-10-02 01:34:44 +02:00
erikinkinen referenced this pull request2026-10-02 02:41:13 +02:00
erikinkinen referenced this pull request from erix/posixd2026-10-02 03:28:18 +02:00
erikinkinen referenced this pull request2026-10-02 04:21:50 +02:00
erikinkinen referenced this pull request2026-10-02 04:58:32 +02:00
erikinkinen referenced this pull request from erix/docs2026-10-02 21:00:15 +02:00
WIP: Implement original ext custody and conditional operation boundariesto WIP: Implement retained Ext mutations and socket lifetimeerikinkinen referenced this pull request from erix/integration2026-10-02 21:00:29 +02:00
erikinkinen referenced this pull request from erix/posixd2026-10-02 21:00:44 +02:00
erikinkinen referenced this pull request from erix/rootd2026-10-02 21:00:47 +02:00
erikinkinen referenced this pull request from erix/docs2026-10-02 22:09:49 +02:00
erikinkinen referenced this pull request from erix/integration2026-10-02 22:11:05 +02:00
erikinkinen referenced this pull request from erix/rootd2026-10-02 22:11:38 +02:00
Fixed the parallel checker-image collision in #24. Each invocation now creates an independent image exclusively, with coverage for concurrent names, existing files and symlinks.
053db7f adds provider-default regular-file creation through the original acquisition scope. It shares the existing administrative file policy, preserves ACL inheritance and read-only denial, and keeps original-key replay and retirement handling.
Signed file timestamp updates share the existing inode, checksum and undo transaction. The inode format is checked before effects, omitted fields stay intact, and failed rollback remains uncertain.
Tracked in file timestamp updates.
The source changes are now split into these feature PRs:
#26, #27, #28, #29, #30, #31, #32, #33, #34, #35, #36, #37, #38, #39, #40, #41, #42, #43, #44, #45, #46, #47, #48, #49, #50, #51, #52, #53, #54, #55, #56, #57, #58.
Closing this aggregate PR unmerged as superseded. The replacement PRs remain WIP where acceptance or provider links are incomplete. The original branch is retained for recovery and existing source references.
Pull request closed