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

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

Partially fixes: #925

Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
Bo Chen
2020-08-17 17:10:03 -07:00
committed by Rob Bradford
parent 56b0c85578
commit 1175fa2bc7
3 changed files with 46 additions and 4 deletions

View File

@@ -1705,6 +1705,7 @@ impl DeviceManager {
disk_cfg.iommu,
disk_cfg.num_queues,
disk_cfg.queue_size,
self.seccomp_action.clone(),
)
.map_err(DeviceManagerError::CreateVirtioBlock)?,
));