tool/seccomp: allow 'restart_syscall' on x86_64

Fixes #3831
This commit is contained in:
Christian Prochaska 2020-07-23 16:50:43 +02:00 committed by Christian Helmuth
parent 18b26ff595
commit 9b6cc75f1c
2 changed files with 3 additions and 0 deletions

View File

@ -167,6 +167,9 @@ class Filter
/* returning from signal handlers is safe */
_add_allow_rule(SCMP_SYS(rt_sigreturn));
/* restarting syscalls is safe (can occur when debugging with GDB) */
_add_allow_rule(SCMP_SYS(restart_syscall));
}
break;
case SCMP_ARCH_ARM: