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: probe_read usage may cause issues with newer kernels #2925

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

jrfastab
Copy link
Contributor

Newer kernels should not use probe_read so convert to probe_read_kernel. We have logic to revert to probe_read on older kernels. Further using probe_read instead of correct probe_read_{kernel|user} may fault on some architectures.

Changelog

Convert probe_read to probe_read_kernel.

Convert probe_read to probe_read_kernel to avoid possible runtime faults with probe_read on some architectures.

Newer kernels should not use probe_read so convert to probe_read_kernel.
We have logic to rever to probe_read on older kernels when needed.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
@jrfastab jrfastab requested a review from a team as a code owner September 13, 2024 18:20
@jrfastab jrfastab requested a review from tixxdz September 13, 2024 18:20
Copy link

netlify bot commented Sep 13, 2024

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit 46a92f2
🔍 Latest deploy log https://app.netlify.com/sites/tetragon/deploys/66e48262fe76cf0008dddf38
😎 Deploy Preview https://deploy-preview-2925--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.

@jrfastab jrfastab force-pushed the pr/jrfastab/probe_read_kernel branch from 46a92f2 to c4b63b3 Compare September 13, 2024 18:30
@jrfastab jrfastab added the release-note/misc This PR makes changes that have no direct user impact. label Sep 13, 2024
@jrfastab jrfastab merged commit e27499d into main Sep 13, 2024
43 of 44 checks passed
@jrfastab jrfastab deleted the pr/jrfastab/probe_read_kernel branch September 13, 2024 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants