Skip to content

0.2.0: openkal 0.26 - #4

Merged
Sunrisepeak merged 2 commits into
mainfrom
openkal-0.26.0
Nov 19, 2026
Merged

Sunrisepeak merged 2 commits into
mainfrom
openkal-0.26.0

Conversation

@Sunrisepeak

@Sunrisepeak Sunrisepeak commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

openkal 0.26.0 (mcpplibs/openkal#69) advances the specification's minor version, so every implementation releases a version that declares it. This is openkal-svr4's. Two commits: the release, and one correction found while the receiving side of clause 7.6 was read.

Commit 1: 0.2.0, openkal 0.26

  • mcpp.toml: version 0.2.0, openkal = "^0.26.0".
  • src/common.h, src/sys.h: E2BIG (7) is kal_err_no_space, where it fell to kal_err_io. Only execve answers it and no source that is built issues execve; the change holds src/unclaimed/process.cpp (written, not built, not claimed) to clause 7.6 for the day it is claimed. That file keeps no count bound (both vectors are one block of the measured size), does not state KAL_PROCESS_PROP_JOB_OBSERVE, and answers kal_err_not_supported from kal_process_job_create (clause 7.18).
  • .github/workflows/ci.yml: the specification is taken at the branch of this branch's name when it has one, as openkal-musl and openkal-llvm-runtime already are. It was always the default branch, so a change of the specification could not be examined before it was merged.
  • tools/run-conformance.sh: the suite names the specification by its tree (path, override = true) rather than by the version its manifest states, so this implementation and the C library are built against the specification as written there.
  • README.md, CHANGELOG.md.

Commit 2: kal_env_var_at answers a variable's name

src/core.cpp answered the whole entry, NAME=value. openkal/env.h states that the operation answers the name, which kal_env_var is then asked by; an entry is not found again by itself. The suite did not report it: tests/cts/src/sections/env.cpp leaves the enumeration loop at the first entry that is not found again without having set examined, and then reports "not observed --- the environment supplied no variables to enumerate" (this repository's runs on main show that line under all three interfaces). The suite's reading is a matter for mcpplibs/openkal and is not changed here.

This commit is separate so that it can be taken or left on its own.

What was measured

CI of this pull request, the specification at openkal-0.26.0, openkal-musl and openkal-llvm-runtime at main, under ibcs-us as UnixWare 7, Solaris and OpenServer 5:

main (openkal 0.25.3) this branch
observations 111 held, 0 did not hold, 22 not observed 112 held, 0 did not hold, 21 not observed
the enumeration of variables not observed ("the environment supplied no variables to enumerate") held ("every enumerated variable is found again by its own name")

The same under each of the three interfaces. override = true on the suite's dependency admits openkal-musl's own openkal = "^0.25.0", so the conformance step does not wait for openkal-musl.

Locally: every source, src/unclaimed/process.cpp included, passes clang++ -fsyntax-only --target=i386-unknown-none-elf -ffreestanding (LLVM 23.1.3) against the headers of openkal's branch. Nothing was built or run under ibcs-us locally.

Expected to wait

The step "hello (status 7), unoptimised and optimised" names no specification of its own: it resolves openkal from the index through this package (^0.26.0) and openkal-musl (^0.25.0 on main). It fails with dependency 'openkal': constraint '^0.26.0' matches none of: [0.25.3, ...] until openkal 0.26.0 is indexed and openkal-musl declares it (CI takes openkal-musl at its branch openkal-0.26.0 once that exists). No override was added for it.

Not verified

  • openkal.process has been run nowhere, as before; the E2BIG translation is untested.
  • Nothing was run on a System V kernel.

- openkal ^0.26.0. What 0.26 requires is of openkal.process (clauses 7.6 and
  7.18), which this package does not claim; nothing a program observes changes
- E2BIG is kal_err_no_space in the shared translation, where it was
  kal_err_io: only execve answers it, so the source kept for openkal.process
  (not built) is held to clause 7.6
- CI takes the specification at the branch of this branch's name when it has
  one, and tools/run-conformance.sh names it by its tree for every package of
  the build
0.1 answered the whole entry, NAME=value, which kal_env_var does not find
again; openkal/env.h states that the operation answers the name. The
specification's suite reported the enumeration as not observed: the first
entry already failed, which it reads as an environment with no variables.
@Sunrisepeak
Sunrisepeak merged commit ac2467c into main Nov 19, 2026
1 of 2 checks passed
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