aboutgitcodelistschat:MatrixIRC
path: root/tests/unit/testutil.h
diff options
context:
space:
mode:
authorAlice Frosi <afrosi@redhat.com>2023-05-19 16:53:53 +0200
committerAlice Frosi <afrosi@redhat.com>2023-05-19 17:59:10 +0200
commitea0bdcf104654ec45d4a32055a4fb2573613ea16 (patch)
tree9f8266b06808957fd10aad610bdd43a649f26c4f /tests/unit/testutil.h
parent1f487f5a95f3fc9e9e9f4681436bfc8011d738aa (diff)
downloadseitan-ea0bdcf104654ec45d4a32055a4fb2573613ea16.tar
seitan-ea0bdcf104654ec45d4a32055a4fb2573613ea16.tar.gz
seitan-ea0bdcf104654ec45d4a32055a4fb2573613ea16.tar.bz2
seitan-ea0bdcf104654ec45d4a32055a4fb2573613ea16.tar.lz
seitan-ea0bdcf104654ec45d4a32055a4fb2573613ea16.tar.xz
seitan-ea0bdcf104654ec45d4a32055a4fb2573613ea16.tar.zst
seitan-ea0bdcf104654ec45d4a32055a4fb2573613ea16.zip
filter: adjust filter build
Add filter_flush_args() to flush the arguments when finish to add the syscall arguments. Fixed test compilation after refactoring.
Diffstat (limited to 'tests/unit/testutil.h')
-rw-r--r--tests/unit/testutil.h1
1 files changed, 1 insertions, 0 deletions
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 */