mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
612a8dfb1b
We occasionally saw cloud-hypervisor crashed due to seccomp violations. The coredumps showed the HTTP API thread crashing after it attempted to call sched_yield(). The call came from rust stdlib's mpmc module, which calls sched_yield() if several attempts to busy-wait for a condition to fulfil fall short. Since the system call is harmless and it comes from the stdlib, I opted to allow all threads to call it. Signed-off-by: Peteris Rudzusiks <rye@stripe.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |