Skip to content

FDOP_CLOSE above position two cites the clause it rests on (openkal 0.14.1) - #44

Merged
Sunrisepeak merged 1 commit into
mainfrom
openkal-0.14.1
Oct 1, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
openkal-0.14.1

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Comment only, no release. posix_spawn_file_actions_addclose above position two is accepted and does nothing because nothing above two is inherited unless asked for; openkal 0.14.1 (mcpplibs/openkal#43) states that as clause 7.13, and openkal-linux 0.15.1 (mcpplibs/openkal-linux#31) is where the one implementation that departed from it is corrected. The comment now says so.

openkal 0.14.1 states in clause 7.13 that a started program receives the three
streams and the granted directories and no other handle, which is the ground
on which closing a descriptor above two is accepted and does nothing. The
comment names the clause, the implementation that did not satisfy it before
openkal-linux 0.15.1 (mcpplibs/openkal-linux#30), and the one exception the
clause permits. No code changes and no release.

Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
@Sunrisepeak
Sunrisepeak merged commit 1922b20 into main Oct 1, 2026
5 checks passed
Sunrisepeak added a commit that referenced this pull request Oct 1, 2026
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>
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