diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 947321a8fab..ac1904a069a 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -147,6 +147,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - Fix config reload metrics (`libbeat.config.module.start/stops/running`). {pull}19168[19168] - Fix metrics hints builder to avoid wrong container metadata usage when port is not exposed {pull}18979[18979] - Server-side TLS config now validates certificate and key are both specified {pull}19584[19584] +- Fix seccomp policy for calls to `chmod` and `chown`. {pull}20054[20054] *Auditbeat* diff --git a/libbeat/common/seccomp/policy_linux_386.go b/libbeat/common/seccomp/policy_linux_386.go index acbc69ddd1f..796b071a104 100644 --- a/libbeat/common/seccomp/policy_linux_386.go +++ b/libbeat/common/seccomp/policy_linux_386.go @@ -46,7 +46,9 @@ func init() { "exit_group", "fchdir", "fchmod", + "fchmodat", "fchown32", + "fchownat", "fcntl", "fcntl64", "fdatasync", diff --git a/libbeat/common/seccomp/policy_linux_amd64.go b/libbeat/common/seccomp/policy_linux_amd64.go index bf1e4bc31c5..4246e6a1a51 100644 --- a/libbeat/common/seccomp/policy_linux_amd64.go +++ b/libbeat/common/seccomp/policy_linux_amd64.go @@ -51,7 +51,9 @@ func init() { "exit_group", "fchdir", "fchmod", + "fchmodat", "fchown", + "fchownat", "fcntl", "fdatasync", "flock",