Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Mar 20, 2025

Proposed commit message

There's an older faccessat(2) that is used by older glibc, particularly the one in ubuntu 20.04.

Any cgo program (like any processor using quark) might end up needing that.

Checklist

Add a checklist of things that are required to be reviewed in order to have the PR approved

List here all the items you have verified BEFORE sending this PR. Please DO NOT remove any item, striking through those that do not apply. (Just in case, strikethrough uses two tildes. Scratch this.)

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Related issues

Related to an internal issue raised.

Use cases

when using kernel_tracing as the backend add_session_metadata_processor or the new system/process module backend, it ends up calling faccessat(3) which might be faccessat2(2) or faccessat(2), depending on the glibc version.
Allow both otherwise kernel_tracing will always fail.


This is an automatic backport of pull request #43322 done by Mergify.

There's an older faccessat(2) that is used by older glibc, particularly the one
in ubuntu 20.04.

Any cgo program (like any processor using quark) might end up needing that.

(cherry picked from commit 73353a8)
@mergify mergify bot requested a review from a team as a code owner March 20, 2025 10:46
@mergify mergify bot added the backport label Mar 20, 2025
@mergify mergify bot requested review from belimawr and rdner and removed request for a team March 20, 2025 10:46
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Mar 20, 2025
@github-actions github-actions bot added bug Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team Team:Security-Linux Platform Linux Platform Team in Security Solution labels Mar 20, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/sec-linux-platform (Team:Security-Linux Platform)

@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Mar 20, 2025
@pierrehilbert pierrehilbert merged commit 990ffef into 8.x Mar 21, 2025
146 checks passed
@pierrehilbert pierrehilbert deleted the mergify/bp/8.x/pr-43322 branch March 21, 2025 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport bug Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team Team:Security-Linux Platform Linux Platform Team in Security Solution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants