diff options
author | Alice Frosi <afrosi@redhat.com> | 2023-03-23 17:06:00 +0100 |
---|---|---|
committer | Alice Frosi <afrosi@redhat.com> | 2023-03-23 17:16:12 +0100 |
commit | 06b0f6d323c396ca1df000af96fdd07cc69b06e0 (patch) | |
tree | f3f900d0cd928d6ec2e6d1ce019d87e119998c0c /build.c | |
parent | 018da5282e74504c0bf232facd7cb35b392d389f (diff) | |
download | seitan-06b0f6d323c396ca1df000af96fdd07cc69b06e0.tar seitan-06b0f6d323c396ca1df000af96fdd07cc69b06e0.tar.gz seitan-06b0f6d323c396ca1df000af96fdd07cc69b06e0.tar.bz2 seitan-06b0f6d323c396ca1df000af96fdd07cc69b06e0.tar.lz seitan-06b0f6d323c396ca1df000af96fdd07cc69b06e0.tar.xz seitan-06b0f6d323c396ca1df000af96fdd07cc69b06e0.tar.zst seitan-06b0f6d323c396ca1df000af96fdd07cc69b06e0.zip |
filter: add logging mode
The logging mode creates a BPF filter where all the syscalls trigger a
notification to the seccomp notifier.
Diffstat (limited to 'build.c')
-rw-r--r-- | build.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |