-
Notifications
You must be signed in to change notification settings - Fork 165
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
fix(userspace/libsinsp): fix resolved PT_FSPATH and PT_FSRELPATH evt params #1597
Conversation
…args Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong variable name 😅 ! Thanks!
LGTM label has been added. Git tree hash: 585f3ed062d098d39ce1baac1c9e083c476525e5
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: FedeDP, jasondellaluce, LucaGuerra The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cc @Andreagit97 0.14.1? |
/milestone 0.14.1 |
What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area libsinsp
Does this PR require a change in the driver versions?
What this PR does / why we need it:
Which issue(s) this PR fixes:
This fixes a minor bug introduced in #1533 and affecting event params of type
PT_FSPATH
andPT_FSRELPATH
. The issue involves wrong path resolutions insinsp_evt::get_param_as_str
that can cause the returned value to contain the resolved absolute path instead of the relative one even when not desired.Special notes for your reviewer:
Does this PR introduce a user-facing change?: