vm_tools: p9: Migrate from crosvm repo

The p9 crate was historically in the crosvm repo because that was the
only place where we could build rust code.  Now that we have a proper
eclass for rust code, move it into vm_tools since that's a better fit
for it.

TEST='FEATURES=test emerge-{eve,kevin} dev-rust/p9`

Change-Id: Ic4f6fe0dd2575640df31143ba1ba8fedb5b6bd13
Signed-off-by: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1279119
10 files changed
tree: 4397464b0252ca40526b3181dbd2063907a27b69
  1. apmanager/
  2. arc/
  3. attestation/
  4. authpolicy/
  5. avtest_label_detect/
  6. biod/
  7. bluetooth/
  8. bootstat/
  9. buffet/
  10. cecservice/
  11. cfm-device-updater/
  12. chaps/
  13. chromeos-common-script/
  14. chromeos-config/
  15. chromeos-dbus-bindings/
  16. common-mk/
  17. container_utils/
  18. crash-reporter/
  19. cromo/
  20. cros-disks/
  21. cros_component/
  22. crosdns/
  23. crosh/
  24. cryptohome/
  25. debugd/
  26. diagnostics/
  27. disk_updater/
  28. dlcservice/
  29. easy-unlock/
  30. feedback/
  31. fitpicker/
  32. gobi-cromo-plugin/
  33. goldfishd/
  34. hammerd/
  35. hermes/
  36. image-burner/
  37. imageloader/
  38. init/
  39. installer/
  40. ippusb_manager/
  41. libbrillo/
  42. libchromeos-ui/
  43. libcontainer/
  44. libpasswordprovider/
  45. libtpmcrypto/
  46. login_manager/
  47. lorgnette/
  48. media_perception/
  49. metrics/
  50. midis/
  51. mist/
  52. ml/
  53. modem-utilities/
  54. modemfwd/
  55. mtpd/
  56. oobe_config/
  57. p2p/
  58. peerd/
  59. permission_broker/
  60. portier/
  61. power_manager/
  62. regions/
  63. run_oci/
  64. salsa/
  65. screenshot/
  66. secure_erase_file/
  67. sepolicy/
  68. shill/
  69. smbprovider/
  70. smogcheck/
  71. st_flash/
  72. storage_info/
  73. system_api/
  74. thd/
  75. timberslide/
  76. touch_firmware_calibration/
  77. touch_keyboard/
  78. tpm2-simulator/
  79. tpm_manager/
  80. trim/
  81. trunks/
  82. u2fd/
  83. userfeedback/
  84. userspace_touchpad/
  85. virtual_file_provider/
  86. vm_tools/
  87. vpn-manager/
  88. webserver/
  89. wifi-testbed/
  90. wimax_manager/
  91. .clang-format
  92. .gitignore
  93. .gn
  94. COMMIT-QUEUE.ini
  95. CPPLINT.cfg
  97. PRESUBMIT.cfg
  98. README.md

The Chromium OS Platform

This repo holds (most) of the custom code that makes up the Chromium OS platform. That largely covers daemons, programs, and libraries that were written specifically for Chromium OS.

We moved from multiple separate repos in platform/ to a single repo in platform2/ for a number of reasons:

  • Make it easier to work across multiple projects simultaneously
  • Increase code re-use (via common libs) rather than duplicate utility functions multiple items over
  • Share the same build system

While most projects were merged, not all of them were. Some projects were standalone already (such as vboot), or never got around to being folded in (such as imageloader). Some day those extra projects might get merged in.

Similarly, some projects that were merged in, were then merged back out. This was due to the evolution of the Brillo project and collaboration with Android. That means the AOSP repos are the upstream and Chromium OS carries copies.

Local Project Directory

apmanagerService for managing a WiFi Access Point (AP)
arcTools/deamons/init-scripts to run ARC
attestationDaemon and client for managing remote attestation
authpolicyDaemon for integrating with Microsoft Active Directory (AD) domains
avtest_label_detectTest tool for OCRing device labels
biodBiometrics daemon
bluetoothBluetooth Service and tools
bootstatTools for tracking points in the overall boot process (for metrics)
buffetDaemon for reacting to cloud messages
cecserviceService for switching CEC enabled TVs on and off
cfm-device-updaterFirmware updaters for CFM peripherals
chapsPKCS #11 implementation for TPM 1 devices
chromeos-common-scriptShared scripts for partitions and basic disk information
chromeos-configCrOS unified build runtime config manager
chromeos-dbus-bindingsSimplifies the implementation of D-Bus daemons and proxies
common-mkCommon build & test logic for platform2 projects
container_utilsSupport tools for containers (e.g. device-jail)
crash-reporterThe system crash handler & reporter
cromomodemmanager compatible D-Bus interface to support closed source modem drivers
cros-disksDaemon for mounting removable media (e.g. USB sticks and SD cards)
crosdnsHostname resolution service for Chrome OS
croshThe Chromium OS shell
cryptohomeDaemon and tools for managing encrypted /home and /var directories
debugdCentralized debug daemon for random tools
diagnosticsDevice telemetry and diagnostics daemons
disk_updaterUtility for updating root disk firmware (e.g. SSDs and eMMC)
dlcserviceDownloadable Content (DLC) Service daemon
easy-unlockDaemon for handling Easy Unlock requests (e.g. unlocking Chromebooks with an Android device)
feedbackDaemon for headless systems that want to gather feedback (normally Chrome manages it)
gobi-cromo-pluginplugin for supporting gobi3k modems with cromo
goldfishdAndroid Emulator Daemon
hammerdFirmware updater utility for hammer hardware
hermesChrome OS LPA implementation for eSIM hardware support
image-burnerDaemon for writing disk images (e.g. recovery) to USB sticks & SD cards
imageloaderDaemon for mounting signed disk images
initCrOS common startup init scripts and boot time helpers
installerCrOS installer utility (for AU/recovery/etc...)
ippusb_manager“Service” for ipp-over-usb printing
libbrilloCommon platform utility library
libpasswordproviderPassword Provider library for securely managing credentials with system services
libtpmcryptoLibrary for AES256-GCM encryption with TPM sealed keys
login_managerSession manager for handling the life cycle of the main session (e.g. Chrome)
lorgnetteDaemon for managing attached USB scanners via SANE
media_perceptionMedia perception service for select platforms
memdDaemon that logs memory-related data and events
metricsClient side user metrics collection
midisMIDI service
mistModem USB Interface Switching Tool
mlMachine learning service
modemfwdDaemon for managing modem firmware updaters
mtpdDaemon for handling Media Transfer Protocol (MTP) with devices (e.g. phones)
oobe_configUtilities for saving and restoring OOBE config state
p2pService for sharing files between CrOS devices (e.g. updates)
peerdDaemon for communicating with local peers
portierMulti-Network Neighbor Discovery Proxy service for Chrome OS
power_managerUserspace power management daemon and associated tools
run_ociMinimalistic container runtime
salsaTouchpad experimentation framework
screenshotTiny command to take a screenshot
secure_erase_fileHelper tools for securely erasing files from storage (e.g. keys and PII data)
sepolicySELinux policy for Chrome OS
shillChrome OS Connection Manager
smbproviderDaemon for connecting Samba / Windows networking shares to the Files.app
smogcheckDeveloper library for working with raw I2C devices
storage_infoHelper shell functions for retrieving disk information)
system_apiHeaders and .proto files etc. to be shared with chromium
thdThermal daemon to help keep systems running cool
timberslideTool for working with EC crashes for reporting purposes
touch_keyboardUtilities for a touch based virtual keyboard
tpm2-simulatorA software TPM 2.0 implementation (for testing/debugging)
tpm_managerDaemon and client for managing TPM setup and operations
trimService to manage filesystem trim operations in the background
trunksMiddleware and resource manager for interfacing with TPM 2.0 hardware
u2fdU2FHID emulation daemon for systems with secure elements (not TPMs)
userfeedbackVarious utilities to gather extended data for user feedback reports
vm_toolsUtilities for Virtual Machine (VM) orchestration
webserverSmall web server with D-Bus client backends
wifi-testbedTools for creating a WiFi testbed image

AOSP Project Directory

These projects can be found here: https://chromium.googlesource.com/aosp/platform/