Skip to content

Conversation

@olsajiri
Copy link
Contributor

@olsajiri olsajiri commented Sep 26, 2025

assorted fixes

@olsajiri olsajiri added the release-note/minor This PR introduces a minor user-visible change label Sep 26, 2025
@netlify
Copy link

netlify bot commented Sep 29, 2025

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit 19685fc
🔍 Latest deploy log https://app.netlify.com/projects/tetragon/deploys/68eeb22ad162c100085a91cf
😎 Deploy Preview https://deploy-preview-4131--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 project configuration.

@olsajiri olsajiri changed the title Pr/olsajiri/fixes tetragon: fixes for exec event parse Sep 30, 2025
@olsajiri olsajiri marked this pull request as ready for review September 30, 2025 09:55
@olsajiri olsajiri requested a review from a team as a code owner September 30, 2025 09:55
@olsajiri olsajiri requested a review from tpapagian September 30, 2025 09:55
@olsajiri olsajiri marked this pull request as draft October 6, 2025 18:41
@olsajiri olsajiri changed the title tetragon: fixes for exec event parse tetragon: assorted fixes Oct 14, 2025
@olsajiri
Copy link
Contributor Author

fyi moved ongoing exec changes in here #4184

@olsajiri olsajiri marked this pull request as ready for review October 14, 2025 12:19
@olsajiri olsajiri requested a review from kkourt October 15, 2025 09:06
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.

just a question, I don't remember why I choose this over the other in 42316d9

Comment on lines 362 to 364
// reuse p->args first string that contains the filename, this can't be
// above 256 in size (otherwise the complete will be send via data msg)
// which is okay because we need the 256 first bytes.
curr->bin.path_length = probe_read_str(curr->bin.path, BINARY_PATH_MAX_LEN, &p->args);
char *filename = (char *)ctx + (_(ctx->__data_loc_filename) & 0xFFFF);

curr->bin.path_length = probe_read_str(curr->bin.path, BINARY_PATH_MAX_LEN, (void *)filename);
Copy link
Member

Choose a reason for hiding this comment

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

what's the change from reading from the tracing points args?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm changing the data layout a bit in another PR and thought this might go independently, but it's not apparent without the rest of the changes, so I'll skip it for now

It's not used, we use TetragonConfValue instead.

Signed-off-by: Jiri Olsa <[email protected]>
Add some structure to the execParse tests.

Signed-off-by: Jiri Olsa <[email protected]>
We need to set process size, not exec object.

Signed-off-by: Jiri Olsa <[email protected]>
@olsajiri olsajiri merged commit 5c8a49a into main Oct 17, 2025
46 checks passed
@olsajiri olsajiri deleted the pr/olsajiri/fixes branch October 17, 2025 10:03
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.

5 participants