Remove redundant unsafe markers

Config::new is now safe, since it uses LayoutVerified to verify size &
alignment of the slice it is given. So remove the unsafe marker on it
and its callers and the related safety comments.

The only unsafety is where we create the mutable slice from a pointer,
and that is appropriately annotated. (I've updated the safety comments
there slightly.)

Bug: 275693559
Test: Flash new pvmfw, start protected VM
Change-Id: If5f4f791f7986f149dfbae03c9823362d954a666
2 files changed
tree: 2512dca5d489a8dd9e0bc35e4c57f531299c0ae6
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. compos/
  5. demo/
  6. demo_native/
  7. docs/
  8. encryptedstore/
  9. javalib/
  10. launcher/
  11. libs/
  12. microdroid/
  13. microdroid_manager/
  14. pvmfw/
  15. rialto/
  16. service_vm/
  17. tests/
  18. virtualizationmanager/
  19. virtualizationservice/
  20. vm/
  21. vm_payload/
  22. vmbase/
  23. vmclient/
  24. zipfuse/
  25. .clang-format
  26. .gitignore
  27. Android.bp
  28. OWNERS
  29. PREUPLOAD.cfg
  30. README.md
  31. TEST_MAPPING
README.md

Virtualization

This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.