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

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

Partially fixes: #925

Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
Bo Chen
2020-08-17 21:30:53 -07:00
committed by Sebastien Boeuf
parent c82ded8afa
commit 02d63149fe
3 changed files with 40 additions and 2 deletions

View File

@@ -2121,6 +2121,7 @@ impl DeviceManager {
fs_cfg.num_queues,
fs_cfg.queue_size,
cache,
self.seccomp_action.clone(),
)
.map_err(DeviceManagerError::CreateVirtioFs)?,
));