Repository navigation
0.22.0 --- the null device at a position of a started program (KAL_SPAWN_NULL_IN, _OUT, _ERR) - #60
Merged
Merged
Conversation
…AWN_NULL_IN, _OUT, _ERR) Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
This was referenced Nov 2, 2026
Merged
…ding nothing of it (clause 7.13); a file keeps what is written Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
openkal 0.22.0 --- the null device at a position
KAL_SPAWN_NULL_IN,KAL_SPAWN_NULL_OUTandKAL_SPAWN_NULL_ERRgive a position of a started program the environment's null device: the program reads the end of input there and every write is accepted and discarded.KAL_PROCESS_PROP_NULL_STREAMSclaims them; an implementation that does not claim them reportskal_err_not_supported, and a flag beside a non-zero stream at the same position iskal_err_invalid(clause 7.15, clause 11 entry 47).Why: an ok image of clangd on Windows starts every module worker with standard input and output sent to
/dev/null(LLVM'sExecuteNoWait); the image's preopens there are volumes, the C library finds no such name, and each start fails withENOENT. The device is the environment's (/dev/null,NUL); a C library can serve a program's own reads and writes of it without the environment, but a started program needs a handle of the environment at the position, which a library could otherwise supply only as a channel drained by the caller for as long as the program runs.kal_spawn's layout andSURFACE.txtare unchanged; a loader's binding table is unchanged..agents/docs/2026-11-03-openkal-0.22-design.md.Implementations: openkal-linux 0.23.0, openkal-macos 0.20.0, openkal-windows 0.18.0, openkal-emscripten 0.11.0 (branches
openkal-0.22).