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. --- tests/unit/testutil.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/unit/testutil.h') diff --git a/tests/unit/testutil.h b/tests/unit/testutil.h index b63d467..4a6c72d 100644 --- a/tests/unit/testutil.h +++ b/tests/unit/testutil.h @@ -99,4 +99,5 @@ void ck_error_msg(char *s); void ck_stderr(); void ck_stdout(); int install_single_syscall(long nr); +int read_filter(struct sock_filter filter[], char *file); #endif /* TESTUTIL_H */ -- cgit v1.2.3