Repository navigation
0.27.2: the riscv64 action record is 32 bytes; an ended program's record is read only where it was written - #60
Merged
Conversation
…ord is read only where it was written
This was referenced Nov 23, 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.
Measured under qemu-user 8.2.2 with the specification's conformance suite on
riscv64-linux-musl(openkal-platform 0.32.1).TARGET_SA_RESTORER), writes 32 bytes for the returned action and reads the mask at the fourth word. The 8 bytes after a 24-byte record were overwritten: the started image's reset of the signals' actions returned to its first signal on every query and the start never ended. The record carries a fourth word, the size musl gives it.waitidwithout its fifth argument. The peak is preset to a value the kernel never writes; an unwritten record makes the processor time and the page faults come from the uncollected program's entry (as for a running program, through one helper), and the peak unavailable instead of zero.tests/arch/runs.cpp: a queried action leaves the word after its record intact (fails without the change under qemu), a started program ends with its status, an ended program's peak is stated only from a written record.Result: the conformance suite on riscv64 under qemu, 411 held, 0 did not hold (with openkal-musl 0.30.3).