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

chore(test): use cat cmd to trigger magic_write event #4454

Merged

Conversation

rscampos
Copy link
Collaborator

@rscampos rscampos commented Dec 18, 2024

1. Explain what the PR does

ed57c00 chore(test): use cat cmd to trigger magic_write event

- On newer kernels, the cp command no longer uses vfs_write. As
a result, using cp to trigger magic_write will not work.

2. Explain how to test it

3. Other comments

@rscampos rscampos requested a review from geyslan December 18, 2024 20:26
@rscampos rscampos self-assigned this Dec 18, 2024
Copy link
Member

@geyslan geyslan left a comment

Choose a reason for hiding this comment

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

LGTM

@rscampos rscampos force-pushed the fix_integration_test_magic_write branch from f4d1428 to 3c275ed Compare December 19, 2024 12:15
@aquasecurity aquasecurity deleted a comment from github-actions bot Dec 19, 2024
@aquasecurity aquasecurity deleted a comment from github-actions bot Dec 19, 2024
- On newer kernels, the cp command no longer uses vfs_write. As
a result, using cp to trigger magic_write will not work.
@rscampos rscampos force-pushed the fix_integration_test_magic_write branch from 3c275ed to ed57c00 Compare December 19, 2024 13:29
@rscampos
Copy link
Collaborator Author

/fast-forward

@github-actions github-actions bot merged commit ed57c00 into aquasecurity:main Dec 19, 2024
34 checks passed
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.

2 participants