Name kexec_file_load by number, so porta builds as a static musl binary - #43
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
O6lvl4
added a commit
to O6lvl4/aitrium
that referenced
this pull request
Sep 29, 2026
…orta#43) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
O6lvl4
added a commit
to O6lvl4/aitrium
that referenced
this pull request
Sep 29, 2026
* Build the Linux archives as static musl binaries Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * Build porta at develop ee6c5a8, which builds as static musl (almide/porta#43) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * Version 0.3.0 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * package.sh: static-pie is static too (x86_64 musl builds are static-pie) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
almide build --target linux-musl(Almide v0.65.1-rc3, almide/almide#2772) fails on porta on aarch64:The libc crate's musl table for aarch64 has no
SYS_kexec_file_load(glibc's has it). The seccomp filter now names it by number, per architecture asAUDIT_ARCHalready is: 320 on x86_64, 294 on aarch64. The filter is unchanged for glibc builds.Tried on aarch64 in rust:1-bookworm with musl-tools: the musl build is statically linked,
porta --versionandrun --help(with--credential) work, and a confinedshwrites the granted directory and is refused/root.Why: aitrium (formerly onogoro) ships porta in its release archive, and a static porta would start on any Linux, Alpine included, not only glibc 2.30+.
🤖 Generated with Claude Code