mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-20 07:58:55 +00:00
When running with `--serial pty --console pty --seccomp=false` the SIGWICH listener thread would panic as the seccomp filter was empty. Adopt the mechanism used in the rest of the code and check for non-empty filter before trying to apply it. Signed-off-by: Rob Bradford <robert.bradford@intel.com>