commit | c3829f1a7bbd9a7ad5d6febb2be2427852b7c447 | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Fri Jun 02 15:02:23 2023 +0100 |
committer | Alan Stokes <alanstokes@google.com> | Mon Jun 05 09:18:36 2023 +0100 |
tree | 2512dca5d489a8dd9e0bc35e4c57f531299c0ae6 | |
parent | 807fa59cb53a27cfbec84264d9eaf71feb62475f [diff] |
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
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.