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

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

Partially fixes: #925

Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
Bo Chen
2020-08-17 18:48:52 -07:00
committed by Sebastien Boeuf
parent c30ff62a7a
commit c460178723
3 changed files with 37 additions and 2 deletions
+1
View File
@@ -2417,6 +2417,7 @@ impl DeviceManager {
resize
.try_clone()
.map_err(DeviceManagerError::TryCloneVirtioMemResize)?,
self.seccomp_action.clone(),
)
.map_err(DeviceManagerError::CreateVirtioMem)?,
));