From 08d99e799b495169fb243d75dfc290c5eecf615f Mon Sep 17 00:00:00 2001 From: Aldo Lacuku Date: Wed, 9 Nov 2022 09:46:48 +0100 Subject: [PATCH] fix(output): do not print syscall_buffer_size when gvisor is enabled Signed-off-by: Aldo Lacuku --- userspace/falco/app_actions/compute_syscall_buffer_size.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/falco/app_actions/compute_syscall_buffer_size.cpp b/userspace/falco/app_actions/compute_syscall_buffer_size.cpp index c005bd5f7e3..27ed7e63401 100644 --- a/userspace/falco/app_actions/compute_syscall_buffer_size.cpp +++ b/userspace/falco/app_actions/compute_syscall_buffer_size.cpp @@ -28,7 +28,7 @@ application::run_result application::configure_syscall_buffer_size() /* We don't need to compute the syscall buffer dimension if we are in capture mode or if the * the syscall source is not enabled. */ - if(is_capture_mode() || m_state->enabled_sources.find(falco_common::syscall_source) == m_state->enabled_sources.end()) + if(is_capture_mode() || m_state->enabled_sources.find(falco_common::syscall_source) == m_state->enabled_sources.end() || is_gvisor_enabled()) { return run_result::ok(); }