mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 09:33:01 +00:00
91019884bb
`sys_util::recv_iovecs_with_fds` was implemented as a safe function, but it was actually unsafe because it assumed that the caller would give a slice of `libc::iovec` where each `iov_base` points a valid memory region with `iov_len`. To make the function truly safe, it should take a slice of IoSliceMut instead. BUG=none TEST=cargo test in sys_util/vmm_vhost TEST=vhost-user block still works Change-Id: I45458ee4545af13ce7e0955fb67b3703b147e7df Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3288733 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> |
||
---|---|---|
.. | ||
assertions | ||
audio_streams | ||
base | ||
cros-fuzz | ||
cros_async | ||
data_model | ||
io_uring | ||
p9 | ||
sync | ||
sys_util | ||
README.md |
Crosvm General Purpose Libraries
The crates in this folder are general purpose libraries used by other projects in ChromeOS as well.
To make them accessible independendly of crosvm, each of these crates is excluded from the crosvm workspace.