-
Notifications
You must be signed in to change notification settings - Fork 176
feat: make PPME_SYSCALL_EXECVE_19_X "scap converter"-managed
#2544
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
Conversation
|
Please double check driver/SCHEMA_VERSION file. See versioning. /hold |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ekoops The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2544 +/- ##
==========================================
- Coverage 78.05% 78.02% -0.03%
==========================================
Files 292 292
Lines 32157 32143 -14
Branches 4692 4703 +11
==========================================
- Hits 25099 25079 -20
- Misses 7058 7064 +6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Let the scap converter managing all the possible variation of `PPME_SYSCALL_EXECVE_19_X` event, adapting the userspace code to handle possible empty values coming from the conversion. The `PPME_SYSCALL_EXECVE_19_E` event is stil sent to sinsp, as its `filename` parameter value is still used as a fallback if the `trusted_exepath` parameter is not present in the exit event. Moreover, fixes some execve and execveat tests and align comments to the new one-line style in the kernel drivers and tests. Signed-off-by: Leonardo Di Giovanna <[email protected]>
e71d221 to
3fc1402
Compare
Perf diff from master - unit testsHeap diff from master - unit testsHeap diff from master - scap fileBenchmarks diff from master |
|
Not bumping the driver schema version is currently a practice we are following as we will bump it in a single shot once we are done with the #2427 initiative. |
|
LGTM label has been added. DetailsGit tree hash: de156227c6ea2dbd8778ff670eb44bb4ead66f67 |
falcosecurity#2544 implements conversion of the exceve_x event which increases the number of parameters to 30. Adjust the number of expected parameters from 27 to 30 for execve_x events with the gvisor engine. Signed-off-by: Tero Kauppinen <[email protected]>
#2544 implements conversion of the exceve_x event which increases the number of parameters to 30. Adjust the number of expected parameters from 27 to 30 for execve_x events with the gvisor engine. Signed-off-by: Tero Kauppinen <[email protected]>
What type of PR is this?
/kind cleanup
/kind test
/kind feature
Any specific area of the project related to this PR?
/area driver-kmod
/area driver-bpf
/area driver-modern-bpf
/area libscap-engine-gvisor
/area libscap-engine-savefile
/area libscap
/area libsinsp
/area tests
Does this PR require a change in the driver versions?
What this PR does / why we need it:
This PR lets the scap converter managing all the possible variations of
PPME_SYSCALL_EXECVE_19_Xevent, adapting the userspace code to handle possible empty values coming from the conversion.The
PPME_SYSCALL_EXECVE_19_Eevent is stil sent to sinsp, as itsfilenameparameter value is still used as a fallback if thetrusted_exepathparameter is not present in the exit event (only happing for scap-converted events), and we cannot implement this fallback logic in the scap-converter.Moreover, it fixes some execve and execveat tests and aligns comments to the new one-line style in the kernel drivers and tests.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
/milestone 0.22.0
Does this PR introduce a user-facing change?: