summary refs log tree commit diff
path: root/seccomp
diff options
context:
space:
mode:
authorJakub Staron <jstaron@google.com>2019-05-29 14:36:15 -0700
committerCommit Bot <commit-bot@chromium.org>2019-06-21 20:27:08 +0000
commitd0bf5dc6026d53d21490049f57505ddd1f515a56 (patch)
tree8c1893c788108109315c6a9fd6658afcbd5f840b /seccomp
parent70d7bad28414e4b0d8bdf2d5eb85618a3b1e83c6 (diff)
downloadcrosvm-d0bf5dc6026d53d21490049f57505ddd1f515a56.tar
crosvm-d0bf5dc6026d53d21490049f57505ddd1f515a56.tar.gz
crosvm-d0bf5dc6026d53d21490049f57505ddd1f515a56.tar.bz2
crosvm-d0bf5dc6026d53d21490049f57505ddd1f515a56.tar.lz
crosvm-d0bf5dc6026d53d21490049f57505ddd1f515a56.tar.xz
crosvm-d0bf5dc6026d53d21490049f57505ddd1f515a56.tar.zst
crosvm-d0bf5dc6026d53d21490049f57505ddd1f515a56.zip
crosvm: Implement Reader/Writer interface over DescriptorChain.
This change adds a convinient interface over DescriptorChain. It hides
the complexity of DescriptorChain and allows to treat it as a pair
of read-only and write-only buffers. In the future, it will also allow
to easily support indirect descriptors.

BUG=chromium:966258
TEST=cargo test --package devices descriptor_utils
TEST=run crosvm without sandbox, share a directory, compare
checksum of shared file between host and guest

Change-Id: I9fb722ee2024c8d7d40f560571ec7d7c454bfc2b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1647370
Reviewed-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Stephen Barber <smbarber@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Jakub StaroĊ„ <jstaron@google.com>
Diffstat (limited to 'seccomp')
0 files changed, 0 insertions, 0 deletions