Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tetragon: Make sure lsm programs return bounded value #3032

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

olsajiri
Copy link
Contributor

There's recent kernel change forcing LSM bpf programs return value range [-4095, 0]. Making sure we follow that in generic lsm sensor.

[1] 5d99e198be27 bpf, lsm: Add check for BPF LSM return value

Copy link

netlify bot commented Oct 22, 2024

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit 926e36d
🔍 Latest deploy log https://app.netlify.com/sites/tetragon/deploys/6717e247a4c921000854102c
😎 Deploy Preview https://deploy-preview-3032--tetragon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@olsajiri olsajiri added the release-note/minor This PR introduces a minor user-visible change label Oct 22, 2024
@olsajiri olsajiri marked this pull request as ready for review October 22, 2024 19:51
@olsajiri olsajiri requested a review from a team as a code owner October 22, 2024 19:51
@olsajiri olsajiri requested review from tixxdz and kkourt October 22, 2024 19:51
There's recent kernel change forcing LSM bpf programs return value
range [-4095, 0]. Making sure we follow that in generic lsm sensor.

[1] 5d99e198be27 bpf, lsm: Add check for BPF LSM return value

Fixes: 41b8889 ("bpf: Add lsm.s/* bpf programs for IMA hash collection")
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
@olsajiri olsajiri merged commit c0e513f into main Oct 23, 2024
43 checks passed
@olsajiri olsajiri deleted the pr/olsajiri/fixes branch October 23, 2024 12:58
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.

2 participants