Skip to content

docs(vms-e9a): LIB$SPAWN/SYS$CREPRC subprocess-pipeline design - #672

Merged
baron-3dl merged 1 commit into
mainfrom
work/vms-e9a-libspawn-doc
Aug 21, 2026
Merged

baron-3dl merged 1 commit into
mainfrom
work/vms-e9a-libspawn-doc

Conversation

@baron-3dl

Copy link
Copy Markdown
Contributor

Grounded design (docs-only) for the subprocess-pipeline facility the GCC driver (cpp→cc1→as→ld) will force — surfaced by the GCC-as-VMS-oracle lane (vms-da0), filed as vms-e9a.

Finding: OVMX has three divergent process-creation paths. lib$spawn does a real fork/exec of DCL.EXE but never registers the child with the executive (prcnam/efn/astadr discarded, lib_misc.c:275) → spawned processes are invisible to $GETJPI/SHOW SYSTEM/$DELPRC, no /NOWAIT completion AST. Design: unify onto SYS$CREPRC, add exit EF/AST notification (shared kernel-core, 3-way gated), give the GCC driver a VMS-host process hook calling LIB$SPAWN/$CREPRC — not musl vfork. Mostly reuse of executive primitives already landed from the MMK exec-drive work.

This lib$spawn→raw-fork bypass is also instance #1 in the executive-boundary enforcement program (vms-040). F2-era; implements when the GCC driver forces it. Design available for the conductor's convergence-gate review.

🤖 Generated with Claude Code

…river forcing function)

Grounded design for the subprocess-pipeline facility the GCC driver
(cpp->cc1->as->ld) will force, surfaced by the GCC-oracle lane (vms-da0).
Finding: OVMX has three divergent process-creation paths; lib$spawn does a
real fork/exec of DCL.EXE but never registers with the executive (prcnam/efn/
astadr discarded, lib_misc.c:275) -> spawned procs invisible to $GETJPI/SHOW
SYSTEM/$DELPRC, no /NOWAIT completion AST. Design unifies onto SYS$CREPRC +
adds exit EF/AST notification; GCC driver calls LIB$SPAWN, not musl vfork.
This lib$spawn->raw-fork bypass is also instance #1 in the executive-boundary
program (vms-040). rd item: vms-e9a.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@baron-3dl
baron-3dl merged commit e66b485 into main Aug 21, 2026
91 checks passed
@baron-3dl
baron-3dl deleted the work/vms-e9a-libspawn-doc branch August 21, 2026 00:01
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.

1 participant