chore(userspace): improved wording.

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>

Co-authored-by: Melissa Kilby <melissa.kilby.oss@gmail.com>
This commit is contained in:
Federico Di Pierro 2023-03-27 17:17:38 +02:00 committed by poiana
parent bd13ba70e3
commit 70c6c93389
2 changed files with 3 additions and 2 deletions

View File

@ -170,7 +170,8 @@ syscall_event_drops:
syscall_event_timeouts: syscall_event_timeouts:
max_consecutives: 1000 max_consecutives: 1000
# Enabling this option allows Falco to drop failed syscalls exit events. # Enabling this option allows Falco to drop failed syscalls exit events
# in the kernel driver before the event is pushed onto the ring buffer.
# This can enable some small optimization both in CPU usage and ring buffer usage, # This can enable some small optimization both in CPU usage and ring buffer usage,
# possibly leading to lower number of event losses. # possibly leading to lower number of event losses.
# Be careful: enabling it also means losing a bit of visibility on the system. # Be careful: enabling it also means losing a bit of visibility on the system.

View File

@ -127,7 +127,7 @@ falco::app::run_result falco::app::actions::open_live_inspector(
if (s.config->m_syscall_drop_failed) if (s.config->m_syscall_drop_failed)
{ {
falco_logger::log(LOG_DEBUG, "Failed syscalls exit event will be dropped.\n"); falco_logger::log(LOG_DEBUG, "Failed syscall exit events are dropped in the kernel driver\n");
inspector->set_dropfailed(true); inspector->set_dropfailed(true);
} }
return run_result::ok(); return run_result::ok();