diff options
author | terminaldweller <thabogre@gmail.com> | 2022-12-05 20:49:04 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-12-05 20:49:04 +0000 |
commit | 2077fba8a11ab148c229d93842a9cc6b74f649b9 (patch) | |
tree | 4449a2b077ceae4a3c888726cd4e45ae6b7cd41b /seccomp/seccomp_filter.c | |
parent | update (diff) | |
download | scripts-2077fba8a11ab148c229d93842a9cc6b74f649b9.tar.gz scripts-2077fba8a11ab148c229d93842a9cc6b74f649b9.zip |
update
Diffstat (limited to 'seccomp/seccomp_filter.c')
-rw-r--r-- | seccomp/seccomp_filter.c | 2 |
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); |