0.19.3 --- the implementations of openkal 0.14.1 beneath - #45
Merged
Merged
Conversation
openkal 0.14.1 states what a started program receives (clause 7.13), and openkal-linux 0.15.1 is where the one implementation that departed from it is corrected: from 0.12.0 to 0.15.0 every program started through posix_spawn here inherited a descriptor for the directory its name was found in, usually /, which reached the host file system from inside a sandbox (mcpplibs/openkal-linux#30). This release pins openkal 0.14.1 and the implementations written against it: openkal-linux 0.15.1, openkal-macos 0.12.1, openkal-windows 0.10.2, openkal-opensbi 0.8.1. Every pin is exact, so the correction reaches a program above this library only through a release of it. No source changes; the comment on FDOP_CLOSE (#44) now cites the clause. The README's install line had stayed at 0.16.0; it names this release. Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
This was referenced Oct 1, 2026
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.
Pins openkal 0.14.1 and the implementations written against it: openkal-linux 0.15.1, openkal-macos 0.12.1, openkal-windows 0.10.2, openkal-opensbi 0.8.1 (all registered: mcpplibs/mcpp-index#498, #499).
Through openkal-linux 0.15.1, a program started with
posix_spawnhere no longer inherits a descriptor for the directory its name was found in (mcpplibs/openkal-linux#30), nor anything the caller itself inherited without close-on-exec; a#!script keeps one descriptor, for itself, and reads its name as/dev/fd/<n>.Every pin in the ecosystem is exact, so the correction reaches a program above this library only through a release of it, and openkal-llvm-runtime 0.15.3 follows. No source changes; #44 already made the comment on
FDOP_CLOSEcite clause 7.13.