virtio-devices: seccomp: Add seccomp filters for virtio_vsock thread

This patch enables the seccomp filters for the virtio_vsock worker
thread.

Partially fixes: #925

Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
Bo Chen
2020-09-08 19:35:03 -07:00
committed by Rob Bradford
parent 1175fa2bc7
commit 3c923f0727
4 changed files with 70 additions and 2 deletions
+1
View File
@@ -273,6 +273,7 @@ mod tests {
PathBuf::from("/test/sock"),
TestBackend::new(),
false,
seccomp::SeccompAction::Trap,
)
.unwrap(),
}