diff --git a/src/main.cpp b/src/main.cpp index 033771c..d88407b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -79,6 +79,9 @@ static bool enableSecurity() { seccomp_rule_add(scmp, SCMP_ACT_ALLOW, SCMP_SYS(restart_syscall), 0); seccomp_rule_add(scmp, SCMP_ACT_ALLOW, SCMP_SYS(futex), 0); + seccomp_rule_add(scmp, SCMP_ACT_ALLOW, SCMP_SYS(socketpair), 0); // what? + + seccomp_rule_add(scmp, SCMP_ACT_ALLOW, SCMP_SYS(clone), 0); // curl wants to spawn threads //apply seccomp int err = seccomp_load(scmp);