Repository navigation
ci(release): the arm64 helper check requires PAC and explains the missing BTI note: Ubuntu 24.04's glibc startup objects (#2786) [backport 0.9] - #2936
Merged
Conversation
…sing BTI note: Ubuntu 24.04's glibc startup objects (#2786) (#2914) The note was blamed on apt.llvm.org's static libc++; it isn't that (every libc++/libc++abi object carries BTI, PAC). lld drops it because noble's glibc 2.39 Scrt1.o, crti.o and crtn.o aren't built with branch protection and have no landing pads, so no executable linked on 24.04 can carry it, and -z force-bti would fault at _start. On arm64 the step now fails when main() doesn't open with paciasp (the helper lost -mbranch-protection=standard) and warns, with the real reason, when the BTI/PAC note is missing. SECURITY.md says PAC on AArch64, BTI not enforced, and why. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 3b70690)
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
mgradwohl
enabled auto-merge (squash)
October 25, 2026 13:58
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.
Backport of #2914 to
release/0.9(#2741), cherry-picked by hand (git cherry-pick -x 3b70690a) becausebackport.yml's pick conflicted.The conflict: one line of
SECURITY.md.release/0.9still says the helper "runs as root", since the UID drop isn't on this line. That wording stays, and the PAC/BTI text replaces the old "no BTI/PAC note until #2786" clause.release.ymlpicked cleanly.Fixes #2786 on v0.9.1.
🤖 Generated with Claude Code