aboutgitcodelistschat:MatrixIRC
path: root/cooker/filter.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 /cooker/filter.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 'cooker/filter.h')
-rw-r--r--cooker/filter.h3
1 files changed, 2 insertions, 1 deletions
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