Skip to content

feat(loader): execute a sealed filesystem ELF from Zsh - #149

Merged
gonz0w merged 1 commit into
mainfrom
codex/zsh-filesystem-exec
Nov 4, 2026
Merged

gonz0w merged 1 commit into
mainfrom
codex/zsh-filesystem-exec

Conversation

@gonz0w

@gonz0w gonz0w commented Nov 4, 2026

Copy link
Copy Markdown
Owner

Real Zsh can now execute one sealed ELF acquired from OpenZFS through the Rust Owner. The default-off native-zsh-file-exec profile adds Owner-only snapshot exec at0x2300B, reuses eager loader/publication checks with a C004 receipt, and denies all three boot-image fallback paths. The Owner retains the eligible object, validates a complete read and close, and keeps namespace authority out of the child.

Focused kernel/Owner/loader, failure, omission and old-profile checks pass. Actual parent/helper/Owner/kernel fits stay within existing ceilings. The separately reviewed native trial passed in38.678s: helper23, printed23 and prompt return, READY/C004,3548 acquired bytes/known close,42/96 requests, normal parent/engine exit/export, mode restoration,21 cleanup phases and three reclaims; both host holders and five clients have known cleanup. The tiny ELF fits3548/4096 bytes, Owner RX73552/73728 and selected kernel stack61440/65536.

This is the owner-approved fixed checkpoint. Full-root coverage remains open in #141; general execution, login, cold boot-to-program, packages and R1 retain their own gates. Earlier failed preparation/analysis attempts remain recorded separately; no full-root or general peak pass is claimed.

Closes #148.

Add an opt-in Owner-only snapshot exec path with sealed filesystem acquisition, eager loader validation and C004 publication receipts. Deny boot-image fallbacks in this profile and preserve existing profiles and resource ceilings.

Focused checks, compiled fits and the reviewed native helper23/status23/prompt/export/reclaim trial pass. Full-root coverage and general execution remain separate gates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Execute one sealed filesystem ELF from real Zsh

1 participant