Skip to content

Commit

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

* Fix chown

* Add changelog entry

(cherry picked from commit bf56f6c)
  • Loading branch information
Andrew Stucki committed Jul 20, 2020
1 parent 1a802fb commit edfd0b7
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 @@ -169,6 +169,7 @@ field. You can revert this change by configuring tags for the module and omittin
- 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 edfd0b7

Please sign in to comment.