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

Scoped target_link_libraries() commands for libsinsp #1280

Conversation

mprzybylski
Copy link
Contributor

Migrated 'sinsp' CMake target_link_libraies() commands to the scoped PRIVATE / PUBLIC / INTERFACE signature. This is to minimize the potential for symbol conflicts in applications that use the library.

What type of PR is this?

/kind cleanup

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build
/area libsinsp

/area tests

/area proposals

Does this PR require a change in the driver versions?

/version driver-API-version-major

/version driver-API-version-minor

/version driver-API-version-patch

/version driver-SCHEMA-version-major

/version driver-SCHEMA-version-minor

/version driver-SCHEMA-version-patch

What this PR does / why we need it:

Migrates libsinsp target_link_library() commands to the scoped PRIVATE / PUBLIC / INTERFACE signature to reduce the likelihood of symbol conflicts in projects that use the library.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

@poiana
Copy link
Contributor

poiana commented Aug 3, 2023

Welcome @mprzybylski! It looks like this is your first PR to falcosecurity/libs 🎉

@poiana poiana added the size/L label Aug 3, 2023
@mprzybylski mprzybylski force-pushed the scoped_target_link_libraries_cmds_for_sinsp branch from b3ca4bf to eb9c9b9 Compare August 3, 2023 23:06
@Andreagit97 Andreagit97 added this to the 0.13.0 milestone Aug 4, 2023
Migrated 'sinsp' CMake target_link_libraies() commands to the scoped
PRIVATE / PUBLIC / INTERFACE signature.  This is to minimize the
potential for symbol conflicts in applications that use the library.

Signed-off-by: Michael Przybylski <michael.przybylski@sysdig.com>
@mprzybylski mprzybylski force-pushed the scoped_target_link_libraries_cmds_for_sinsp branch from 4a480d2 to b896e2d Compare August 7, 2023 13:26
Copy link
Contributor

@jasondellaluce jasondellaluce left a comment

Choose a reason for hiding this comment

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

/approve

@poiana
Copy link
Contributor

poiana commented Aug 7, 2023

LGTM label has been added.

Git tree hash: 40e422fa54dfc5a76429d002adf30b9691dd75da

@poiana poiana added the approved label Aug 7, 2023
@Andreagit97
Copy link
Member

before merging it, I would like to test it on Falco, I will take a look ASAP thank you!
/hold

Copy link
Member

@Andreagit97 Andreagit97 left a comment

Choose a reason for hiding this comment

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

/approve

@poiana
Copy link
Contributor

poiana commented Aug 10, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Andreagit97, jasondellaluce, mprzybylski

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:
  • OWNERS [Andreagit97,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Andreagit97
Copy link
Member

/unhold

@poiana poiana merged commit c8f725b into falcosecurity:master Aug 10, 2023
23 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.

None yet

4 participants