-
Notifications
You must be signed in to change notification settings - Fork 176
feat(libscap/libsinsp): fcntl scap conversion #2533
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
feat(libscap/libsinsp): fcntl scap conversion #2533
Conversation
This update adds scap event conversion for the fcntl syscall exit events and it eliminates the need to store the entry event in libsinsp. Signed-off-by: Tero Kauppinen <[email protected]>
|
Please double check driver/SCHEMA_VERSION file. See versioning. /hold |
|
/milestone 0.22.0 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2533 +/- ##
=======================================
Coverage 78.42% 78.42%
=======================================
Files 292 292
Lines 31999 32001 +2
Branches 4652 4653 +1
=======================================
+ Hits 25094 25096 +2
Misses 6905 6905
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:
|
|
/unhold -> false positive |
|
/hold cancel |
ekoops
left a comment
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
|
LGTM label has been added. DetailsGit tree hash: 90c2cc435f511ec3eb28dd50658f20dfeeb8e78e |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 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 |
What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/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 adds new scap file conversion rules handling old
PPME_SYSCALL_FCNTL_Xlayouts. Specifically, this instructs the scap converter to add the missing parameters by taking them from the corresponding enter event: this allowed to remove the user space logic storing the enter event and retrieving it on the exit side.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: