Skip to content

Commit 5449535

Browse files
Allow faccessat(2) as well as faccessat2(2) (#43322) (#43377)
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) Co-authored-by: Christiano Haesbaert <haesbaert@elastic.co>
1 parent fea17d7 commit 5449535

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

Diff for: CHANGELOG.next.asciidoc

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff]
1313
- Fix FQDN being lowercased when used as `host.hostname` {issue}39993[39993]
1414
- Beats won't log start up information when running under the Elastic Agent {40390}40390[40390]
1515
- The Beats logger and file output rotate files when necessary. The beat now forces a file rotation when unexpectedly writing to a file through a symbolic link.
16+
- Allow faccessat(2) in seccomp. {pull}43322[43322]
1617

1718
*Auditbeat*
1819

Diff for: libbeat/common/seccomp/policy_linux_386.go

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ func init() {
4949
"execve",
5050
"exit",
5151
"exit_group",
52+
"faccessat",
5253
"faccessat2",
5354
"fchdir",
5455
"fchmod",

Diff for: libbeat/common/seccomp/policy_linux_amd64.go

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ func init() {
5454
"execve",
5555
"exit",
5656
"exit_group",
57+
"faccessat",
5758
"faccessat2",
5859
"fchdir",
5960
"fchmod",

0 commit comments

Comments
 (0)