diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index 15898dd9547..284eeeeff26 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -34,6 +34,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d - File integrity dataset: Remove non-ECS `hash.*` fields. Hashes are under `file.hash.*`. {issue}19039[19039] {pull}28378[28378] - Auditd dataset: Removes the authentication_success and authentication_failure event.type values for user logins. {issue}19039[19039] {pull}28378[28378] - Fix handling of long file names on Windows. {issue}25334[25334] {pull}28517[28517] +- System/socket dataset: Fix uninstallation of return kprobes. {issue}28608[28608] {pull}28609[28609] *Filebeat* diff --git a/x-pack/auditbeat/tracing/tracefs.go b/x-pack/auditbeat/tracing/tracefs.go index 110e7e4d316..8d31bddc921 100644 --- a/x-pack/auditbeat/tracing/tracefs.go +++ b/x-pack/auditbeat/tracing/tracefs.go @@ -25,7 +25,10 @@ const ( ) var ( - kprobeRegexp *regexp.Regexp = regexp.MustCompile("^([pr]):(?:([^/ ]*)/)?([^/ ]+) ([^ ]+) ?(.*)") + // p[:[GRP/]EVENT] [MOD:]SYM[+offs]|MEMADDR [FETCHARGS] : Set a probe + // r[MAXACTIVE][:[GRP/]EVENT] [MOD:]SYM[+0] [FETCHARGS] : Set a return probe + kprobeRegexp *regexp.Regexp = regexp.MustCompile("^([pr])[0-9]*:(?:([^/ ]*)/)?([^/ ]+) ([^ ]+) ?(.*)") + formatRegexp *regexp.Regexp = regexp.MustCompile("\\s+([^:]+):([^;]*);") )