feat(driver): add filename parameter to PPME_SYSCALL_EXECVE_19_X#2735
Merged
feat(driver): add filename parameter to PPME_SYSCALL_EXECVE_19_X#2735
filename parameter to PPME_SYSCALL_EXECVE_19_X#2735Conversation
a3f831a to
db4bd12
Compare
X64 kernel testing matrix
ARM64 kernel testing matrix
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2735 +/- ##
=======================================
Coverage 77.02% 77.03%
=======================================
Files 296 296
Lines 30818 30829 +11
Branches 4670 4670
=======================================
+ Hits 23738 23749 +11
Misses 7080 7080
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:
|
4d0da3c to
15d7ae3
Compare
leogr
previously approved these changes
Dec 5, 2025
Contributor
Author
|
/hold |
Differently from what `bpf_probe_read_user_str()` documentation says, the helper indeed returns 0 in case of empty strings. Take it into account and push a single NULL terminator character. Ref: 88ab162 Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com>
Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com>
15d7ae3 to
23e2af9
Compare
Contributor
Author
|
/remove-hold |
Perf diff from master - unit testsHeap diff from master - unit testsHeap diff from master - scap fileBenchmarks diff from master |
Contributor
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deepskyblue86, ekoops, terror96 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
/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-savefile
/area tests
Does this PR require a change in the driver versions?
/version driver-SCHEMA-version-minor
What this PR does / why we need it:
As highlighted in #2709, the
filenameparameter, originally present inPPME_SYSCALL_EXECVE_19_E, could be useful in some circumstances.This PR adds the
filenameparameter toPPME_SYSCALL_EXECVE_19_X, so users can continue to use it in rules related to events of typeexecve.Which issue(s) this PR fixes:
Fixes #2709
Special notes for your reviewer:
/milestone next-driver
Does this PR introduce a user-facing change?: