aboutsummaryrefslogtreecommitdiffstats
path: root/seccomp/seccomp_filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'seccomp/seccomp_filter.c')
-rw-r--r--seccomp/seccomp_filter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/seccomp/seccomp_filter.c b/seccomp/seccomp_filter.c
index 89ea917..1d3f2fa 100644
--- a/seccomp/seccomp_filter.c
+++ b/seccomp/seccomp_filter.c
@@ -8,6 +8,8 @@
#include <string.h>
#include <unistd.h>
+// https://blog.mnus.de/2020/05/sandboxing-soldatserver-with-bubblewrap-and-seccomp/
+
void log_all_syscalls(void) {
scmp_filter_ctx ctx = seccomp_init(SCMP_ACT_LOG);
seccomp_arch_add(ctx, SCMP_ARCH_X86_64);