crosvm/fuzz
Daniel Verkamp 6c987cf924 fuzz: block_fuzzer: remove use of AsRawFd
The Event API has changed so that it exposes only RawDescriptor, not
RawFd, so the block fuzzer's use of as_raw_fd() no longer worked.

The actual intent of the code using as_raw_fd() was to clone the Event,
so just use the existing Event::try_clone function which achieves the
same result without using platform-specific code.

BUG=chromium:1144535
TEST=`FEATURES=test USE='asan fuzzer' emerge-amd64-generic crosvm`

Change-Id: I64689dde1b1351997aa2f11ed440416e3d226815
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2514901
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Tested-by: Daniel Verkamp <dverkamp@chromium.org>
2020-11-03 03:32:24 +00:00
..
.build_test_skip build_test: misc options, improvements, amd bug fixes 2020-10-15 13:40:32 +00:00
.gitignore
block_fuzzer.rs fuzz: block_fuzzer: remove use of AsRawFd 2020-11-03 03:32:24 +00:00
Cargo.toml fuse: extract FUSE as a crate from virtio/fs 2020-10-27 16:18:51 +00:00
fs_server_fuzzer.rs fuse: extract FUSE as a crate from virtio/fs 2020-10-27 16:18:51 +00:00
OWNERS
qcow_fuzzer.rs fuzz: replace SharedMemory with tempfile 2020-10-12 09:45:46 +00:00
usb_descriptor_fuzzer.rs
virtqueue_fuzzer.rs vm_memory: A crate to hold vm-specific memory objects 2020-07-24 21:42:34 +00:00
zimage_fuzzer.rs fuzz: replace SharedMemory with tempfile 2020-10-12 09:45:46 +00:00