crosvm/common/p9
Dennis Kempin a7d91e5f66 p9: Remove dependency on sys_util
The read_dir utility was only used by p9. Other code uses fs::read_dir,
so we can move it from base::unix into p9.

BUG=b:229114164
TEST=presubmit

Change-Id: I9bd12b11233582245db8251aeb3d4480170a2d48
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3584628
Reviewed-by: Allen Webb <allenwebb@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
2022-04-14 20:32:59 +00:00
..
fuzz crosvm: migrate to Rust 2021 edition 2022-03-09 01:16:03 +00:00
src p9: Remove dependency on sys_util 2022-04-14 20:32:59 +00:00
wire_format_derive Enable windows tests for a few crates 2022-02-18 03:18:58 +00:00
Cargo.toml p9: Remove dependency on sys_util 2022-04-14 20:32:59 +00:00
OWNERS p9: re-add OWNERS file for fuzzer ownership 2022-01-10 20:43:27 +00:00
README.md docs: Use mdformat to format markdown files 2022-01-27 21:29:11 +00:00

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.