cloud-hypervisor/vmm
Peteris Rudzusiks 612a8dfb1b vmm: seccomp: Allow all threads to call sched_yield()
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>
2024-02-13 10:20:07 +00:00
..
src vmm: seccomp: Allow all threads to call sched_yield() 2024-02-13 10:20:07 +00:00
Cargo.toml build: Bump serde from 1.0.193 to 1.0.196 2024-02-09 23:45:54 +00:00