Skip to content

Commit

Permalink
[Filebeat] Chmod/Chown seccomp fix (#20054)
Browse files Browse the repository at this point in the history
* Fix fchmod syscall seccomp policy

* Fix chown

* Add changelog entry
  • Loading branch information
Andrew Stucki authored Jul 20, 2020
1 parent 3932eaa commit bf56f6c
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 @@ -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*

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 bf56f6c

Please sign in to comment.