feat(bpfcompat): add library-mode (ValidateBeforeLoad) section#10
Merged
Conversation
Adds a "Library mode" section to the bpfcompat page covering the new embeddable pkg/bpfcompat API: ValidateBeforeLoad does a real load against the node's own running kernel (no VM, no network) as a pre-load gate for loaders like bpfman. Includes the Go API snippet, three properties (in-process/no-VM, air-gap safe, machine-readable verdict), and two real terminal screenshots (pass + classified rejection). Copy localized across all 8 languages; i18n parity test passes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
kernel-guard-frontend | 3a45f59 | Commit Preview URL Branch Preview URL |
Jun 26 2026, 02:50 PM |
Deploying kernel-guard-frontend-git with
|
| Latest commit: |
3a45f59
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://baf520e0.kernel-guard-frontend-git.pages.dev |
| Branch Preview URL: | https://feat-bpfcompat-library-secti.kernel-guard-frontend-git.pages.dev |
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.
Adds a Library mode section to the bpfcompat page covering the new embeddable
pkg/bpfcompatAPI (merged in the bpfcompat repo).What's new on the page
bpfcompat.ValidateBeforeLoad(ctx, "probe.bpf.o")with the gate pattern.OK=true, 3 ms) and a classified rejection (OK=false,CORE_RELOCATION_FAILURE, verifier log). Rendered from actualexamples/libmodeoutput.i18n
Copy localized across all 8 languages (en, tr, de, es, fr, ja, zh-CN, ko). The strict shape-parity / no-empty-string vitest test passes (5/5).
Verification
tsc --noEmitclean,vitesti18n test green.npm run build→ 288/288 routes prerendered.src/+public/imagescommitted.🤖 Generated with Claude Code