Skip to content

Commit

Permalink
Cherry-pick #20054 to 7.9: [Filebeat] Chmod/Chown seccomp fix (#20061)
Browse files Browse the repository at this point in the history
* [Filebeat] Chmod/Chown seccomp fix (#20054)

* Fix fchmod syscall seccomp policy

* Fix chown

* Add changelog entry

(cherry picked from commit bf56f6c)

* Fix changelog
  • Loading branch information
Andrew Stucki authored Jul 22, 2020
1 parent ba18d7e commit de94cf0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Fix goroutine leak and Elasticsearch output file descriptor leak when output reloading is in use. {issue}10491[10491] {pull}17381[17381]
- Fix Elasticsearch license endpoint URL referenced in error message. {issue}17880[17880] {pull}18030[18030]
- Change `decode_json_fields` processor, to merge parsed json objects with existing objects in the event instead of fully replacing them. {pull}17958[17958]
- Fix seccomp policy for calls to `chmod` and `chown`. {pull}20054[20054]

*Auditbeat*

Expand Down
2 changes: 2 additions & 0 deletions libbeat/common/seccomp/policy_linux_386.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ func init() {
"exit_group",
"fchdir",
"fchmod",
"fchmodat",
"fchown32",
"fchownat",
"fcntl",
"fcntl64",
"fdatasync",
Expand Down
2 changes: 2 additions & 0 deletions libbeat/common/seccomp/policy_linux_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ func init() {
"exit_group",
"fchdir",
"fchmod",
"fchmodat",
"fchown",
"fchownat",
"fcntl",
"fdatasync",
"flock",
Expand Down

0 comments on commit de94cf0

Please sign in to comment.