cloud-hypervisor/vmm
Alyssa Ross beed5e5d6d vmm, virtio-devices: allow mremap for consoles
SerialBuffer uses VecDeque::extend, which calls realloc, which a
maximum buffer size of 1 MiB.  Starting at allocation sizes of
128 KiB, musl's mallocng allocator will use mremap for the allocation.
Since this was not permitted by the seccomp rules, heavy write load
could crash cloud-hypervisor with a seccomp failure.  (Encountered
using virtio-console, but I don't see any reason it wouldn't happen
for the legacy serial device too.)

Signed-off-by: Alyssa Ross <hi@alyssa.is>
2023-06-13 11:23:15 -07:00
..
src vmm, virtio-devices: allow mremap for consoles 2023-06-13 11:23:15 -07:00
Cargo.toml build: Bulk update rust-vmm dependencies 2023-06-08 13:15:25 +01:00