mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
The serial-manager thread was the only VMM-managed thread without a seccomp filter. Add a Thread::SerialManager variant and whitelist the 31 syscalls needed for its epoll-based I/O loop (read, write, socket ops, signal handling, memory allocation, glibc internals). The filter is computed in start_thread() and applied before the epoll loop, matching the pattern used by other VMM threads. Signed-off-by: Wei Liu <liuwe@microsoft.com> Assisted-by: Pi-agent:Claude-Opus-4.7