seccomp: allow restart_syscall in stdin sandbox

master
Michael Santos 6 years ago
parent cc828f582f
commit 38cd570d28

@ -373,6 +373,9 @@ xmppipe_sandbox_stdin(xmppipe_state_t *state)
#ifdef __NR_write
SC_ALLOW(write),
#endif
#ifdef __NR_restart_syscall
SC_ALLOW(restart_syscall),
#endif
/* Default deny */
BPF_STMT(BPF_RET+BPF_K, SECCOMP_FILTER_FAIL)

Loading…
Cancel
Save