fix(agent): process-exec probe attaches to security_bprm_check (JEF-53)#27
Merged
Conversation
On-node (v0.3.41 deploy) the bprm_check probe failed to attach: "Unknown BTF type `bprm_check_security`" — that symbol isn't a BTF function on 6.8. The exported LSM call IS `security_bprm_check` (in BTF, like every other `security_*` probe we attach). Swap the fentry target + the attach-table row; bprm->filename read is unchanged. privilege-change (security_task_fix_setuid) already attached cleanly on-node; this fixes the one probe that didn't. eBPF nightly check + Docker builder link green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VtjoJttCvBY4dzCoE4f9vP
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.
On-node (v0.3.41) the process-exec probe failed:
Unknown BTF type bprm_check_security— not a BTF function on 6.8. The exported LSM call issecurity_bprm_check(in BTF, matching every othersecurity_*probe). Swaps the fentry target + attach-table row; thebprm->filenameread is unchanged. privilege-change (JEF-54) already attached cleanly on-node. eBPF check + Docker builder green. 🤖