cloud-hypervisor/virtio-devices/src
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
..
transport vm-migration: Don't store the id as part of Snapshot structure 2022-12-09 10:26:06 +01:00
vhost_user misc: Update for beta clippy failures on x86-64 2023-05-30 07:18:17 -07:00
vsock misc: Remove unnecessary clippy directives 2023-04-18 10:48:31 -07:00
balloon.rs virtio-devices: properly join all threads on Drop 2023-01-12 18:03:33 +00:00
block.rs build: Bump virtio-bindings from 0.1.0 to 0.2.0 2023-02-23 00:59:32 +00:00
console.rs virtio-devices: properly join all threads on Drop 2023-01-12 18:03:33 +00:00
device.rs virtio-net: net: Wait for threads to exit on Drop 2022-11-10 07:46:16 -08:00
epoll_helper.rs virtio-devices: modify or provide safety comments 2022-11-18 12:50:01 +00:00
iommu.rs virtio-devices: properly join all threads on Drop 2023-01-12 18:03:33 +00:00
lib.rs virtio-devices: Avoid clashing names in imports 2023-04-22 10:33:46 +01:00
mem.rs virtio-devices: typo fixes 2023-01-25 10:38:31 +00:00
net.rs build: Bump virtio-bindings from 0.1.0 to 0.2.0 2023-02-23 00:59:32 +00:00
pmem.rs virtio-devices: properly join all threads on Drop 2023-01-12 18:03:33 +00:00
rng.rs virtio-devices: properly join all threads on Drop 2023-01-12 18:03:33 +00:00
seccomp_filters.rs vmm, virtio-devices: allow mremap for consoles 2023-06-13 11:23:15 -07:00
thread_helper.rs virtio-devices: Shutdown VMM upon worker thread errors 2022-08-16 11:45:44 +01:00
vdpa.rs misc: Automatically fix cargo clippy issues added in 1.65 (stable) 2022-12-14 14:27:19 +00:00
watchdog.rs virtio-devices: properly join all threads on Drop 2023-01-12 18:03:33 +00:00