Skip to content

Measure starting a program that needs an interpreter - #19

Merged
Sunrisepeak merged 1 commit into
mainfrom
measure-the-interpreter-case
Aug 31, 2026
Merged

Measure starting a program that needs an interpreter#19
Sunrisepeak merged 1 commit into
mainfrom
measure-the-interpreter-case

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

openkal-linux could not start one AT ALL --- every #! script on every
architecture --- and no suite anywhere looked, which is why it survived until a
foreign binary made the same failure loud on aarch64.

⚠️ THIS IMPLEMENTATION IS EXPECTED TO PASS AND IS CHECKED ANYWAY. It has no
execveat': it enters the directory and calls execve' with a whole path, so the
kernel never holds a name the interpreter cannot reopen. That is a reason to
BELIEVE it works. Believing is exactly how the other one went unmeasured, and
the reasoning that said "not ours" there was three true observations pointing
the wrong way.

Test-only; no behaviour changes and no version bump.

openkal-linux could not start one AT ALL --- every `#!` script on every
architecture --- and no suite anywhere looked, which is why it survived until a
foreign binary made the same failure loud on aarch64.

⚠️ THIS IMPLEMENTATION IS EXPECTED TO PASS AND IS CHECKED ANYWAY. It has no
`execveat': it enters the directory and calls `execve' with a whole path, so the
kernel never holds a name the interpreter cannot reopen. That is a reason to
BELIEVE it works. Believing is exactly how the other one went unmeasured, and
the reasoning that said "not ours" there was three true observations pointing
the wrong way.

Test-only; no behaviour changes and no version bump.
@Sunrisepeak
Sunrisepeak merged commit 5ddb0e0 into main Aug 31, 2026
2 checks passed
@Sunrisepeak
Sunrisepeak deleted the measure-the-interpreter-case branch August 31, 2026 03:32
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