Skip to content

Conversation

@olsajiri
Copy link
Contributor

…t is available

Currently we won't validate kprobe with override action when the kernel is not compiled with CONFIG_BPF_KPROBE_OVERRIDE. But we can still do override with fmod_ret program if it's available.

Fixes: #4157
Reported-by: Shang-Wen Wang [email protected]

@olsajiri olsajiri added the release-note/minor This PR introduces a minor user-visible change label Oct 12, 2025
@olsajiri olsajiri force-pushed the pr/olsajiri/override_fix branch from 7fa7428 to 6c792a3 Compare October 12, 2025 15:39
Currently we won't validate kprobe with override action when the kernel
is not compiled with CONFIG_BPF_KPROBE_OVERRIDE. But we can still do
override with fmod_ret program if it's available.

Fixes: #4157
Reported-by: Shang-Wen Wang <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
@olsajiri olsajiri force-pushed the pr/olsajiri/override_fix branch from 6c792a3 to d08a005 Compare October 12, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/minor This PR introduces a minor user-visible change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

allow override on LSM functions if CONFIG_BPF_KPROBE_OVERRIDE is not enabled

2 participants