You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[8.18](backport #46372) libbeat: add 'eventfd2' to default seccomp policy (#46447)
* libbeat: add 'eventfd2' to default seccomp policy (#46372)
Since Go introduced https://go.dev/cl/560615 it uses `eventfd2`, which was not part of our default seccomp policy. Due to the `google.golang.org/protobuf` dependency `eventfd2` during its initialisation, before our seccomp policy be applied, thus it worked.
However once filebeat is reexeced, for example, due to a CA change, the seccomp policy would be in place and prevent `eventfd2` call, crashing filebeat.
This change adds `eventfd2` to the default seccomp policy
This also adjusts Beat.doReexec to use os.Executable isntead of manually building the binary path.
(cherry picked from commit 7162773)
# Conflicts:
# libbeat/tests/integration/elasticsearch_test.go
---------
Co-authored-by: Anderson Queiroz <[email protected]>
0 commit comments