allow restart _syscall
This commit is contained in:
parent
72adddcff6
commit
d5ee38a553
|
@ -77,6 +77,8 @@ static bool enableSecurity() {
|
|||
seccomp_rule_add(scmp, SCMP_ACT_ALLOW, SCMP_SYS(pwritev2), 0);
|
||||
seccomp_rule_add(scmp, SCMP_ACT_ALLOW, SCMP_SYS(preadv2), 0);
|
||||
|
||||
seccomp_rule_add(scmp, SCMP_ACT_ALLOW, SCMP_SYS(restart_syscall), 0);
|
||||
|
||||
//apply seccomp
|
||||
int err = seccomp_load(scmp);
|
||||
if(err != 0) {
|
||||
|
|
Loading…
Reference in New Issue