-
Notifications
You must be signed in to change notification settings - Fork 167
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
cleanup(scap,sinsp): remove userspace/common #1454
Conversation
Please double check driver/SCHEMA_VERSION file. See versioning. /hold |
Dear bot, I did double-check. Replacing __u64 with uint64_t doesn't really constitute an API change. |
/unhold |
LGTM label has been added. Git tree hash: db02bc8932cb3528b8534e71b7829bf6fca0e49e
|
/milestone 0.14.0 |
…cap_log.h Signed-off-by: Grzegorz Nosek <[email protected]>
Signed-off-by: Grzegorz Nosek <[email protected]>
Yes, the strl* functions are used in libsinsp too, but that doesn't make them too different from all the other helper functions. Eventually this could become a tiny library of its own but we're not quite there yet. Signed-off-by: Grzegorz Nosek <[email protected]>
Signed-off-by: Grzegorz Nosek <[email protected]>
FWIW it's just a (conflict-free) rebase, zero code changes |
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. Git tree hash: 166b473194175fb441508bd19a5553c89156c3ef
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: FedeDP, gnosek, jasondellaluce The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind cleanup
Any specific area of the project related to this PR?
/area libscap
/area libsinsp
Does this PR require a change in the driver versions?
What this PR does / why we need it:
This PR removes userspace/common/. It contained:
The downside of having all this outside libscap is complicating the include path, especially given that types.h was included in driver/ppm_events_public.h using a relative path, which just about made it impossible to include directly outside libscap. Sadly, the config file for strl.h still needs to be autogenerated but that can be mostly handled via LIBSCAP_INCLUDE_DIRS.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
None of the shouting
BREAKING CHANGE
s below should really affect users of the code but still.Does this PR introduce a user-facing change?: