From b2c96dea248ef3733727e2c145840ab555800918 Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Wed, 31 Mar 2021 11:14:23 +0200 Subject: [PATCH] vmm: Add missing syscall for vCPU unplug clock_nanosleep() is triggered when hot-unplugging a vCPU. Signed-off-by: Sebastien Boeuf (cherry picked from commit 46f96f27a4eedbdf5d82465ffd2cd91e7f6374bc) Signed-off-by: Rob Bradford --- vmm/src/seccomp_filters.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/vmm/src/seccomp_filters.rs b/vmm/src/seccomp_filters.rs index f3d61b29e..42b2d0342 100644 --- a/vmm/src/seccomp_filters.rs +++ b/vmm/src/seccomp_filters.rs @@ -418,6 +418,7 @@ fn vcpu_thread_rules() -> Result, Error> { Ok(vec![ allow_syscall(libc::SYS_brk), allow_syscall(libc::SYS_clock_gettime), + allow_syscall(libc::SYS_clock_nanosleep), allow_syscall(libc::SYS_close), allow_syscall(libc::SYS_dup), allow_syscall(libc::SYS_exit),