WIP: Implement retained FAT metadata and namespace custody #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/fatd!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 through original FAT/exFAT handles and selected persistent metadata catalogs. Preserve aliases and detached objects through original transactions. Refuse socket creation and the distinct communication-admission operation because the catalog cannot represent socket objects; admission refusal performs no disk I/O or handle 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/e2fsd2026-09-29 09:18:30 +02:00
WIP: Correct standalone service linking and reject linker warningsto WIP: Preserve FAT provider identities and filesystem contractserikinkinen 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
erikinkinen 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
WIP: Preserve FAT provider identities and filesystem contractsto WIP: Preserve native FAT custody and honest metadataerikinkinen 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
erikinkinen referenced this pull request from erix/ramfsd2026-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
erikinkinen referenced this pull request from erix/blockd2026-09-30 15:38:57 +02:00
erikinkinen referenced this pull request from erix/coreutils2026-09-30 15:39:00 +02:00
erikinkinen referenced this pull request from erix/crashd2026-09-30 15:39:05 +02:00
erikinkinen referenced this pull request from erix/deviced2026-09-30 15:39:08 +02:00
erikinkinen referenced this pull request from erix/docs2026-09-30 15:39:10 +02:00
erikinkinen referenced this pull request from erix/drv-acpi2026-09-30 15:39:13 +02:00
erikinkinen referenced this pull request from erix/drv-i80422026-09-30 15:39:17 +02:00
erikinkinen referenced this pull request from erix/drv-ps2-keyboard2026-09-30 15:39:21 +02:00
erikinkinen referenced this pull request from erix/drv-ps2-mouse2026-09-30 15:39:23 +02:00
erikinkinen referenced this pull request from erix/drv-rtc-cmos2026-09-30 15:39:32 +02:00
erikinkinen referenced this pull request from erix/drv-serial2026-09-30 15:39:36 +02:00
erikinkinen referenced this pull request from erix/drv-virtio-block2026-09-30 15:39:42 +02:00
erikinkinen referenced this pull request from erix/dynlinkd2026-09-30 15:39:43 +02:00
erikinkinen referenced this pull request from erix/e2fsd2026-09-30 15:39:45 +02:00
erikinkinen referenced this pull request from erix/exsh2026-09-30 15:39:47 +02:00
erikinkinen referenced this pull request from erix/extop2026-09-30 15:39:50 +02:00
WIP: Preserve native FAT custody and honest metadatato WIP: Preserve original FAT custody and directory observationserikinkinen referenced this pull request from erix/fbcond2026-09-30 15:39:56 +02:00
erikinkinen referenced this pull request from erix/hotplugd2026-09-30 15:39:58 +02:00
erikinkinen referenced this pull request from erix/inputd2026-09-30 15:40:00 +02:00
erikinkinen referenced this pull request from erix/integration2026-09-30 15:40:04 +02:00
erikinkinen referenced this pull request from erix/irqd2026-09-30 15:40:07 +02:00
erikinkinen referenced this pull request from erix/kernel2026-09-30 15:40:12 +02:00
erikinkinen referenced this pull request from erix/keyd2026-09-30 15:40:16 +02:00
erikinkinen referenced this pull request from erix/launchd2026-09-30 15:40:19 +02:00
erikinkinen referenced this pull request from erix/lib-block2026-09-30 15:40:22 +02:00
erikinkinen referenced this pull request from erix/lib-bootstrap2026-09-30 15:40:24 +02:00
erikinkinen referenced this pull request from erix/lib-capabi2026-09-30 15:40:25 +02:00
erikinkinen referenced this pull request from erix/lib-driver2026-09-30 15:40:28 +02:00
erikinkinen referenced this pull request from erix/lib-input2026-09-30 15:40:29 +02:00
erikinkinen referenced this pull request from erix/lib-interrupt2026-09-30 15:40:30 +02:00
erikinkinen referenced this pull request from erix/lib-ipc2026-09-30 15:40:32 +02:00
erikinkinen referenced this pull request from erix/lib-log2026-09-30 15:40:33 +02:00
erikinkinen referenced this pull request from erix/lib-posixabi2026-09-30 15:40:34 +02:00
erikinkinen referenced this pull request from erix/lib-service2026-09-30 15:40:35 +02:00
erikinkinen referenced this pull request from erix/lib-stdio2026-09-30 15:40:35 +02:00
erikinkinen referenced this pull request from erix/lib-time2026-09-30 15:40:35 +02:00
erikinkinen referenced this pull request from erix/lib-tty2026-09-30 15:40:36 +02:00
erikinkinen referenced this pull request from erix/lib-vfs2026-09-30 15:40:37 +02:00
erikinkinen referenced this pull request from erix/loaderd2026-09-30 15:40:37 +02:00
erikinkinen referenced this pull request from erix/logd2026-09-30 15:40:38 +02:00
erikinkinen referenced this pull request from erix/memd2026-09-30 15:40:38 +02:00
erikinkinen referenced this pull request from erix/named2026-09-30 15:40:39 +02:00
erikinkinen referenced this pull request from erix/pagerd2026-09-30 15:40:40 +02:00
erikinkinen referenced this pull request from erix/posixd2026-09-30 15:40:40 +02:00
erikinkinen referenced this pull request from erix/powerboxd2026-09-30 15:40:41 +02:00
erikinkinen referenced this pull request from erix/probed2026-09-30 15:40:41 +02:00
erikinkinen referenced this pull request from erix/procd2026-09-30 15:40:42 +02:00
erikinkinen referenced this pull request from erix/ramfsd2026-09-30 15:40:42 +02:00
erikinkinen referenced this pull request from erix/rootd2026-09-30 15:40:42 +02:00
erikinkinen referenced this pull request from erix/seriald2026-09-30 15:40:42 +02:00
erikinkinen referenced this pull request from erix/timed2026-09-30 15:40:43 +02:00
erikinkinen referenced this pull request from erix/ttyd2026-09-30 15:40:43 +02:00
erikinkinen referenced this pull request from erix/vfsd2026-09-30 15:40:44 +02:00
erikinkinen referenced this pull request from erix/vspaced2026-09-30 15:40:44 +02:00
erikinkinen referenced this pull request from erix/lib-posixabi2026-09-30 17:11:40 +02:00
WIP: Preserve original FAT custody and directory observationsto WIP: Persist original FAT metadata and repair exFAT mutationerikinkinen referenced this pull request from erix/docs2026-10-01 04:14:09 +02:00
WIP: Persist original FAT metadata and repair exFAT mutationto WIP: Implement original FAT 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 08:05:58 +02:00
erikinkinen referenced this pull request from erix/integration2026-10-01 08:06:00 +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 01:20:28 +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
WIP: Implement original FAT custody and conditional operation boundariesto WIP: Implement retained FAT metadata and namespace custodyerikinkinen 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
3a4b046c repairs #17: the final upcase-table word is a literal mapping, while earlier compression markers retain their existing checks. Independent boundary cases and the recommended formatter table cover admission and lookup. Integration selects the repair; its original guest criterion remains open.
4cf3847a removes the eight-bit exFAT cluster limit and clears each complete allocation. #18 tracks the reproduced defect and remaining large-cluster guest case. The original upcase-table guest criterion remains open in #17.
f50ee8a5 invalidates cached scratch before a fallible refill, so only a completed read can admit the new window. This does not establish a cause for the FAT guest timeouts tracked in Integration #134.
Fatd 9753c56 adds provider-default creation using the mode, owner and group from the admitted FAT/exFAT catalog header. The filesystem and catalog change share the original transaction. Process-attributed creation still requires explicit metadata and keeps its group check; acquisition cleanup retires the pin without removing a committed name.
Selected FAT/exFAT timestamp updates use the original catalog and media transaction. Values floor to the actual field precision, format range refusal precedes effects, and detached original objects retain their identity.
Tracked in file timestamp updates.
The source changes are now split into these feature PRs:
#19, #20, #21, #22, #23, #24, #25, #26, #27, #28, #29, #30, #31, #32, #33, #34, #35, #36, #37, #38.
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