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

BTF validation fixes #2312

Merged
merged 4 commits into from
Apr 8, 2024
Merged

BTF validation fixes #2312

merged 4 commits into from
Apr 8, 2024

Conversation

kkourt
Copy link
Contributor

@kkourt kkourt commented Apr 8, 2024

BTF validation fixes. See individual patches.

kkourt added 3 commits April 8, 2024 10:29
This adds a syscall prefix when we try to find a syscall.

Signed-off-by: Kornilios Kourtis <[email protected]>
- treat unions as we treat structs
- ignore consts, because when comparing with types from the tetragon
  spec, it does not make a difference.

Signed-off-by: Kornilios Kourtis <[email protected]>
kernel type "unsigned long int" is compatible with uint64.

Signed-off-by: Kornilios Kourtis <[email protected]>
@kkourt kkourt added the release-note/misc This PR makes changes that have no direct user impact. label Apr 8, 2024
Copy link

netlify bot commented Apr 8, 2024

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit 2d7bb55
🔍 Latest deploy log https://app.netlify.com/sites/tetragon/deploys/6613b49d357fa20008e48bb5
😎 Deploy Preview https://deploy-preview-2312--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.

Signed-off-by: Kornilios Kourtis <[email protected]>
@kkourt kkourt force-pushed the pr/kkourt/validation-fixes branch from 2d7bb55 to a0b1e5b Compare April 8, 2024 09:19
@kkourt kkourt marked this pull request as ready for review April 8, 2024 09:19
@kkourt kkourt requested a review from a team as a code owner April 8, 2024 09:19
@kkourt kkourt requested a review from jrfastab April 8, 2024 09:19
Copy link
Member

@mtardy mtardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kkourt kkourt merged commit e8631bc into main Apr 8, 2024
35 checks passed
@kkourt kkourt deleted the pr/kkourt/validation-fixes branch April 8, 2024 11:06
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