vmm: seccomp whitelist accept4 for all targets
Previously this was only whitelisted for gnu builds. When switching
to Rust 1.35 the same syscall is used for musl as well.
Removed accept from whitelisted syscalls.
Fixes:
@@ -12,9 +12,6 @@ use seccomp::{
pub fn default_filter() -> Result<SeccompFilter, Error> {
Ok(SeccompFilter::new(
vec![
- #[cfg(target_env = "musl")]
- allow_syscall(libc::SYS_accept),
- #[cfg(target_env = "gnu")]
allow_syscall(libc::SYS_accept4),
allow_syscall(libc::SYS_brk),
allow_syscall(libc::SYS_clock_gettime),
