From 696fa43dc2f31ce8f77da6faef9d9ecc022beed8 Mon Sep 17 00:00:00 2001 From: Andrea Terzolo Date: Tue, 16 May 2023 18:25:59 +0200 Subject: [PATCH] cleanup(actions): now modern bpf support `-A` flag Signed-off-by: Andrea Terzolo --- userspace/falco/app/actions/load_rules_files.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/userspace/falco/app/actions/load_rules_files.cpp b/userspace/falco/app/actions/load_rules_files.cpp index d0119ef4..e41ad517 100644 --- a/userspace/falco/app/actions/load_rules_files.cpp +++ b/userspace/falco/app/actions/load_rules_files.cpp @@ -116,14 +116,6 @@ falco::app::run_result falco::app::actions::load_rules_files(falco::app::state& s.engine->enable_rule_by_tag(s.options.enabled_rule_tags, true); } - if(s.options.all_events && s.options.modern_bpf) - { - /* Right now the modern BPF probe doesn't support the -A flag, we implemented just - * the "simple set" syscalls. - */ - falco_logger::log(LOG_INFO, "The '-A' flag has no effect with the modern BPF probe, no further syscalls will be added\n"); - } - if (s.options.describe_all_rules) { s.engine->describe_rule(NULL);