From 06b0f6d323c396ca1df000af96fdd07cc69b06e0 Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Thu, 23 Mar 2023 17:06:00 +0100 Subject: filter: add logging mode The logging mode creates a BPF filter where all the syscalls trigger a notification to the seccomp notifier. --- build.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build.c') diff --git a/build.c b/build.c index f99dc97..93ce97b 100644 --- a/build.c +++ b/build.c @@ -23,7 +23,8 @@ int main(int argc, char **argv) perror("missing input file"); exit(EXIT_FAILURE); } - ret = convert_bpf(argv[1], calls, sizeof(calls) / sizeof(calls[0])); + ret = convert_bpf(argv[1], calls, sizeof(calls) / sizeof(calls[0]), + true); if (ret < 0) { perror("converting bpf program"); exit(EXIT_FAILURE); -- cgit v1.2.3