Uprev rev vm_tools/p9 to 2c3e8252c684673e83278a0124a998e997dbbcc2 am: 8be853418d

Original change: https://android-review.googlesource.com/c/platform/external/vm_tools/p9/+/1518677

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iad09587fa4cbe011158f89434c8d82d8a018ca5c
tree: 8c9847dc87c59c236d7b109592e025bcf8d11366
  1. fuzz/
  2. patches/
  3. src/
  4. wire_format_derive/
  5. .clang-format
  6. .gitignore
  7. Android.bp
  8. Cargo.toml
  9. LICENSE
  10. METADATA
  11. MODULE_LICENSE_BSD
  12. OWNERS
  13. README.md
  14. TEST_MAPPING
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.