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
@@ -2378,6 +2378,7 @@ impl DeviceManager {
vsock_cfg.socket.clone(),
backend,
vsock_cfg.iommu,
self.seccomp_action.clone(),
)
.map_err(DeviceManagerError::CreateVirtioVsock)?,
));