Skip to content

Commit

Permalink
Add normalization for exit_group syscall
Browse files Browse the repository at this point in the history
The exit_group syscall terminates all threads in a process, and is normally
used to exit a process. This normalization adds 'end' action and type to the
process ECS document.
  • Loading branch information
mjwolf committed Jan 22, 2024
1 parent f3dbcfd commit 8eaadd3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion aucoalesce/normalizations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,15 @@ normalizations:
ecs:
<<: *ecs-process
type: change
- action: end
object:
what: process
how: syscall
syscalls:
# exit_group - exit all threads in a process
- exit_group
ecs: *ecs-process
type: end

# Currently unhandled
# this list comes from parsing linux man pages at https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
Expand Down Expand Up @@ -673,7 +682,6 @@ normalizations:
# acct - switch process accounting on or off
# sigsuspend - wait for a signal
# rt_sigsuspend - wait for a signal
# exit_group - exit all threads in a process
# socket - create an endpoint for communication
# ioctl_userfaultfd - create a file descriptor for handling page faults in user space
# sched_get_priority_max - get static priority range
Expand Down

0 comments on commit 8eaadd3

Please sign in to comment.