mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
So far, we only have seccomp rules for the postcopy-send thread. This commit introduces the basic plumbing to add seccomp rules also for the migration worker (the migration coordinator) as well as the TCP workers (both, send and receive) in the following. To streamline code setup, all filters are created at a central place early in the migration code. Although this means that some filters are created without the need to do so (e.g., postcopy), this massively simplifies code setup and error handling. This overhead is negligible. On-behalf-of: SAP philipp.schuster@sap.com Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>