WIP: fix: verify host compiler inputs and executable headers #495

Draft
erikinkinen wants to merge 4 commits from feature/host-tool-admission-checks into feature/retained-host-tool-artifacts
Owner

Recheck the selected C compiler body alongside the held linker route before and after compilation. Detected changes remain a refusal after restoration. Require valid ELF versions, header size and program-header placement before accepting a host companion.

  • Retain and verify both selected tool bodies.
  • Reject malformed ELF headers.
  • Cover compiler mutation and restoration.
  • Complete CI on this revision.

Stacks on #493.

Recheck the selected C compiler body alongside the held linker route before and after compilation. Detected changes remain a refusal after restoration. Require valid ELF versions, header size and program-header placement before accepting a host companion. - [x] Retain and verify both selected tool bodies. - [x] Reject malformed ELF headers. - [x] Cover compiler mutation and restoration. - [ ] Complete CI on this revision. Stacks on [#493](https://git.erikinkinen.fi/erix/integration/pulls/493).
erikinkinen added this to the Alpha 1 milestone 2026-11-07 03:18:08 +01:00
fix: verify host compiler inputs and executable headers
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
CI / markdown (push) Successful in 5s
Coreutils provider graph / coreutils (push) Successful in 1m51s
CI / rust (push) Successful in 2m37s
CI / host_zero (push) Successful in 7m50s
CI / host_three (push) Successful in 9m41s
CI / host_one (push) Failing after 10m41s
CI / host_two (push) Successful in 11m34s
CI / integration (push) Has been skipped
411b7f93db
Recheck the selected compiler driver alongside the held linker route before and after compilation. Keep detected input changes sticky after restoration, and require valid ELF versions, header size and program-header placement before accepting host companions.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
CI / markdown (push) Has been cancelled
Coreutils provider graph / coreutils (push) Has been cancelled
b278f03a17
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Separate Markdown checks from the build workflow
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
Coreutils provider graph / coreutils (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
b9a7502722
Keep each workflow below the repository size limit by giving Markdown its own file. Preserve event filters, job conditions and command bodies, with independent concurrency for the Markdown workflow.
ci: Use shared development dependency profiles
Some checks failed
Markdown / markdown (push) Successful in 11s
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 4m22s
CI / rust (push) Successful in 7m38s
CI / host_zero (push) Successful in 13m57s
CI / host_three (push) Successful in 20m40s
CI / host_one (push) Failing after 22m2s
CI / host_two (push) Failing after 23m26s
CI / integration (push) Has been skipped
515884c189
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
Some checks failed
Markdown / markdown (push) Successful in 11s
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 4m22s
CI / rust (push) Successful in 7m38s
CI / host_zero (push) Successful in 13m57s
CI / host_three (push) Successful in 20m40s
CI / host_one (push) Failing after 22m2s
CI / host_two (push) Failing after 23m26s
CI / integration (push) Has been skipped
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/host-tool-admission-checks:feature/host-tool-admission-checks'
git switch 'feature/host-tool-admission-checks'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/retained-host-tool-artifacts'
git merge --no-ff 'feature/host-tool-admission-checks'
git switch 'feature/host-tool-admission-checks'
git rebase 'feature/retained-host-tool-artifacts'
git switch 'feature/retained-host-tool-artifacts'
git merge --ff-only 'feature/host-tool-admission-checks'
git switch 'feature/host-tool-admission-checks'
git rebase 'feature/retained-host-tool-artifacts'
git switch 'feature/retained-host-tool-artifacts'
git merge --no-ff 'feature/host-tool-admission-checks'
git switch 'feature/retained-host-tool-artifacts'
git merge --squash 'feature/host-tool-admission-checks'
git switch 'feature/retained-host-tool-artifacts'
git merge --ff-only 'feature/host-tool-admission-checks'
git switch 'feature/retained-host-tool-artifacts'
git merge 'feature/host-tool-admission-checks'
git push origin 'feature/retained-host-tool-artifacts'
Sign in to join this conversation.
No description provided.