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

fix(definitions): ksymbols dependencies handled wrongly #3443

Merged

Conversation

rafaeldtinoco
Copy link
Contributor

@rafaeldtinoco rafaeldtinoco commented Sep 5, 2023

commit fad5fc0 (HEAD -> ksymboldepsregression, rafaeldtinoco/ksymboldepsregression)
Author: Rafael David Tinoco rafaeldtinoco@gmail.com
Date: Tue Sep 5 16:33:13 2023

fix(event): enable ksymbols engine for PrintMemDump

Commit 1a47a4e4e attempted to fix this issue by reverting some changes
made during the event definitions (and dependencies) refactor. That
change caused some regressions because of another fix made together,
but, since it was reverted, this commit fixes the same issue with a much
simpler approach (at least until the event definitions refactor work is
finished).

Fixes: #3382

@yanivagman

This comment was marked as outdated.

@rafaeldtinoco rafaeldtinoco marked this pull request as draft September 5, 2023 19:28
@rafaeldtinoco

This comment was marked as outdated.

Commit 1a47a4e attempted to fix this issue by reverting some changes
made during the event definitions (and dependencies) refactor. That
change caused some regressions because of another fix made together,
but, since it was reverted, this commit fixes the same issue with a much
simpler approach (at least until the event definitions refactor work is
finished).

Fixes: #3382
@rafaeldtinoco
Copy link
Contributor Author

rafaeldtinoco commented Sep 5, 2023

What brakes the E2E tests is the following change:

image

But the change Nadav did to the event definition ksymbols dependency isn't good IMO (and can be mitigated by a very simple change).

I have merged the reversion proposed by @AlonZivony and this very minor fix (already tested in all scenarios, e2e tests, github tests and testcase from the issue #3382).

Im going to leave the issue: #3383 opened to fix it in a further moment (as the behavior does not break anything and it's a "good to have" change).

@rafaeldtinoco rafaeldtinoco added this to the v0.18.0 milestone Sep 5, 2023
@rafaeldtinoco rafaeldtinoco marked this pull request as ready for review September 5, 2023 20:49
@yanivagman yanivagman linked an issue Sep 6, 2023 that may be closed by this pull request
@yanivagman yanivagman removed this from the v0.18.0 milestone Sep 6, 2023
Copy link
Collaborator

@yanivagman yanivagman left a comment

Choose a reason for hiding this comment

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

LGTM

@rafaeldtinoco rafaeldtinoco merged commit c1c053a into aquasecurity:main Sep 6, 2023
26 checks passed
@rafaeldtinoco rafaeldtinoco deleted the ksymboldepsregression branch September 6, 2023 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Old kernel symbols dependency semantics broken
2 participants