WIP: Implement retained RAM namespace and socket lifetime #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/ramfsd!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
Implement conditional namespace, metadata and permission operations over deployment-owned RAM objects and counted original handles. Preserve original socket objects through unlink and replacement. Compare their actual permission revision under the retained root without file access, namespace effects or timestamp changes.
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.
erikinkinen referenced this pull request from erix/docs2026-09-29 08:52:34 +02:00
erikinkinen referenced this pull request from erix/integration2026-09-29 08:52:51 +02:00
erikinkinen referenced this pull request from erix/lib-ipc2026-09-29 08:53:03 +02:00
erikinkinen referenced this pull request from erix/posixd2026-09-29 08:53:13 +02:00
WIP: Align signed runtime dependenciesto WIP: Add retained permission snapshots and conditional truncationerikinkinen referenced this pull request from erix/e2fsd2026-09-29 09:18:30 +02:00
erikinkinen referenced this pull request from erix/fatd2026-09-29 09:18:31 +02:00
WIP: Add retained permission snapshots and conditional truncationto WIP: Add retained permission evidence and explicit ACL page refusalWIP: Add retained permission evidence and explicit ACL page refusalto WIP: Retain filesystem 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
erikinkinen referenced this pull request from erix/e2fsd2026-09-30 14:16:13 +02:00
erikinkinen 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-ipc2026-09-30 14:16:25 +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-posixabi2026-09-30 14:16:26 +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
WIP: Retain filesystem permissions and original acquisition ownershipto WIP: Preserve volatile filesystem custody and metadataerikinkinen 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 volatile filesystem custody and metadatato WIP: Preserve volatile 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-ipc2026-09-30 17:12:44 +02:00
erikinkinen referenced this pull request from erix/lib-posixabi2026-09-30 17:12:45 +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 volatile custody, metadata and directory positionsto WIP: Preserve original volatile filesystem custodyerikinkinen 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
WIP: Preserve original volatile filesystem custodyto WIP: Preserve original RAM objects through namespace changeserikinkinen referenced this pull request from erix/rootd2026-10-01 02:30:59 +02:00
WIP: Preserve original RAM objects through namespace changesto WIP: Implement shared RAM entries and original object lifetimeWIP: Implement shared RAM entries and original object lifetimeto WIP: Implement original RAM namespace and object lifetimeerikinkinen referenced this pull request from erix/integration2026-10-01 22:33:08 +02:00
erikinkinen referenced this pull request from erix/docs2026-10-01 22:33:08 +02:00
erikinkinen referenced this pull request from erix/docs2026-10-01 23:44:51 +02:00
erikinkinen referenced this pull request from erix/integration2026-10-01 23:44:55 +02:00
erikinkinen referenced this pull request from erix/docs2026-10-02 04:05:30 +02:00
erikinkinen referenced this pull request from erix/integration2026-10-02 04:05:51 +02:00
erikinkinen referenced this pull request from erix/posixd2026-10-02 04:06:12 +02:00
erikinkinen referenced this pull request from erix/docs2026-10-02 21:00:15 +02:00
erikinkinen 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
WIP: Implement original RAM namespace and object lifetimeto WIP: Implement retained RAM namespace and socket lifetimeerikinkinen 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
Ramfsd d0a292c adds retained provider-default creation. It uses the same mode 0644 and UID/GID zero as ordinary administrative file creation, with the existing parent, replay and read-only checks. Retiring the acquisition pin leaves a committed name intact. The coordinated rollout is tracked in LibIPC #13.
RAM now applies selected access/modification times and ctime in one conditional provider turn. Omit keeps the current node field, and explicit values preserve the full signed second range.
Tracked in file timestamp updates.
This source is now split into feature PRs, starting at #14 and ending at #45. 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