Skip to content

Commit 2f93be6

Browse files
committed
System/socket: Support kernel_clone() replacement for _do_fork
1 parent a1617c7 commit 2f93be6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.next.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
9191
- system/package: Fix an error that can occur while trying to persist package metadata. {issue}18536[18536] {pull}18887[18887]
9292
- system/socket: Fix bugs leading to wrong process being attributed to flows. {pull}29166[29166] {issue}17165[17165]
9393
- system/socket: Fix process name and arg truncation for long names, paths and args lists. {issue}24667[24667] {pull}29410[29410]
94+
- system/socket: Fix startup errors on newer 5.x kernels that dropped _do_fork in favor of kernel_clone. {issue}29607[29607] {pull}29743[29743]
9495

9596
*Filebeat*
9697

x-pack/auditbeat/module/system/socket/template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var functionAlternatives = map[string][]string{
4141
"SYS_EXECVE": syscallAlternatives("execve"),
4242
"SYS_GETTIMEOFDAY": syscallAlternatives("gettimeofday"),
4343
"SYS_UNAME": syscallAlternatives("newuname"),
44-
"DO_FORK": {"_do_fork", "do_fork"},
44+
"DO_FORK": {"_do_fork", "do_fork", "kernel_clone"},
4545
}
4646

4747
func syscallAlternatives(syscall string) []string {

0 commit comments

Comments
 (0)