mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
our current p9 server implementation does not support fiile locks (https://www.gnu.org/software/libc/manual/html_node/File-Locks.html). NOTE: this implementation mirrors the QEMU approach, which defers locking semantics to the client VFS. This means we do not provide any guarantees about locks between client/server, nor between multiple potential clients. BUG=chromium:1225763 TEST=tests added Change-Id: I73f04712c7e6869f7679d4f55b2706d21e5cf6b2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3578027 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Maciek Swiech <drmasquatch@google.com> |
||
---|---|---|
.. | ||
fuzz | ||
src | ||
wire_format_derive | ||
Cargo.toml | ||
OWNERS | ||
README.md |
p9 - Server implementation of the 9p file system protocol
This directory contains the protocol definition and a server implementation of the 9p file system protocol.
- wire_format_derive - A procedural macro that derives the serialization and de-serialization implementation for a struct into the 9p wire format.
- src/protocol - Defines all the messages used in the 9p protocol. Also implements serialization
and de-serialization for some base types (integers, strings, vectors) that form the foundation of
all 9p messages. Wire format implementations for all other messages are derived using the
wire_format_derive
macro. - src/server.rs - Implements a full 9p server, carrying out file system requests on behalf of clients.