allow clone & socketpair
This commit is contained in:
parent
e0f86da8d6
commit
d8addeac3c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue