From ea0bdcf104654ec45d4a32055a4fb2573613ea16 Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Fri, 19 May 2023 16:53:53 +0200 Subject: filter: adjust filter build Add filter_flush_args() to flush the arguments when finish to add the syscall arguments. Fixed test compilation after refactoring. --- cooker/filter.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cooker/filter.h') diff --git a/cooker/filter.h b/cooker/filter.h index a797e07..7f6ddfd 100644 --- a/cooker/filter.h +++ b/cooker/filter.h @@ -71,7 +71,8 @@ struct bpf_entry { void filter_notify(long nr); void filter_needs_deref(void); -void filter_add_arg(int index, struct bpf_arg arg, bool append); +void filter_add_arg(int index, struct bpf_arg arg); void filter_write(const char *path); +void filter_flush_args(); #endif -- cgit v1.2.3